gcc/testsuite/gcc.c-torture/compile/20000605-1.c
raw| 1 | /* Copyright (C) 2000 Free Software Foundation */ |
| 2 | |
| 3 | /* make sure we don't get confused by various flavors of void */ |
| 4 | |
| 5 | /* Origin: Jakub Jelinek <[email protected]> |
| 6 | * Joel Sherrill <[email protected]> |
| 7 | */ |
| 8 | |
| 9 | typedef void foo; |
| 10 | foo bar(void); |
| 11 | void baz(void) |
| 12 | { |
| 13 | bar(); |
| 14 | } |
| 15 | |
| 16 | void volatile f(); |
| 17 | |
| 18 | int x() |
| 19 | { |
| 20 | f(); |
| 21 | } |
| 22 |