gcc/testsuite/gcc.dg/pr51957-2.c
raw| 1 | /* PR target/51957 */ |
| 2 | /* { dg-do compile } */ |
| 3 | /* { dg-options "-O0" } */ |
| 4 | |
| 5 | #include "pr51957-1.h" |
| 6 | |
| 7 | union R *w[10]; |
| 8 | |
| 9 | union R * |
| 10 | fn1 (void) |
| 11 | { |
| 12 | return (union R *) 0; |
| 13 | } |
| 14 | |
| 15 | void |
| 16 | fn2 (int x, const char *y, union R *z) |
| 17 | { |
| 18 | } |
| 19 | |
| 20 | void |
| 21 | fn3 (void) |
| 22 | { |
| 23 | } |
| 24 | |
| 25 | int |
| 26 | fn4 (union R *x) |
| 27 | { |
| 28 | return 0; |
| 29 | } |
| 30 | |
| 31 | int |
| 32 | main () |
| 33 | { |
| 34 | return 0; |
| 35 | } |