gcc/testsuite/gcc.c-torture/compile/20031113-1.c
raw| 1 | /* { dg-additional-options "-std=gnu89" } */ |
| 2 | |
| 3 | /* On Darwin, the stub for simple_cst_equal was not being emitted at all |
| 4 | causing the as to die and not create an object file. */ |
| 5 | |
| 6 | int |
| 7 | attribute_list_contained () |
| 8 | { |
| 9 | return (simple_cst_equal ()); |
| 10 | } |
| 11 | int |
| 12 | simple_cst_list_equal () |
| 13 | { |
| 14 | return (simple_cst_equal ()); |
| 15 | } |
| 16 | |
| 17 | |
| 18 | int __attribute__((noinline)) |
| 19 | simple_cst_equal () |
| 20 | { |
| 21 | return simple_cst_list_equal (); |
| 22 | } |
| 23 |