gcc/testsuite/gcc.dg/compat/struct-layout-1_main.c
raw| 1 | /* { dg-prune-output ".*-Wno-abi.*" } */ |
| 2 | |
| 3 | #include "struct-layout-1.h" |
| 4 | |
| 5 | #define TX(n, type, attrs, fields, ops) extern void test##n (void); |
| 6 | #include "struct-layout-1_test.h" |
| 7 | #undef TX |
| 8 | |
| 9 | int main (void) |
| 10 | { |
| 11 | #define TX(n, type, attrs, fields, ops) test##n (); |
| 12 | #include "struct-layout-1_test.h" |
| 13 | #undef TX |
| 14 | if (fails) |
| 15 | abort (); |
| 16 | exit (0); |
| 17 | } |