gcc/testsuite/gcc.dg/rtl/x86_64/test_1.h
raw| 1 | /* Shared test code for the various __RTL tests of test_1 that |
| 2 | start at different passes. */ |
| 3 | |
| 4 | extern void abort (void); |
| 5 | extern int test_1 (int i, int j, int k); |
| 6 | |
| 7 | int main (void) |
| 8 | { |
| 9 | if (test_1 (0, 0, 3) != -3) |
| 10 | abort (); |
| 11 | |
| 12 | if (test_1 (0, 1, 3) != 7) |
| 13 | abort (); |
| 14 | |
| 15 | return 0; |
| 16 | } |