gcc/testsuite/gcc.dg/struct-ret-2.c
raw| 1 | /* Simplified by Alexandre Oliva <[email protected]> |
| 2 | from bug report by Helmut Jarausch <[email protected]> |
| 3 | |
| 4 | Copyright (C) 1999 Free Software Foundation */ |
| 5 | |
| 6 | /* { dg-do compile } */ |
| 7 | /* { dg-options "-O3 -w" } */ |
| 8 | |
| 9 | struct { |
| 10 | unsigned i[4]; |
| 11 | } foo() {} |
| 12 | |
| 13 | void bar() { |
| 14 | foo(); |
| 15 | } |