testsuite/small/macro-8.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/ |
| 2 | #define __inline__ inline |
| 3 | |
| 4 | static __inline__ int func(int x) |
| 5 | { |
| 6 | return x + 3; |
| 7 | } |
| 8 | |
| 9 | int f(int x) |
| 10 | { |
| 11 | return func(x); |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-tree-dump "#define __inline__ inline" } } */ |
| 15 | /* { dg-final { scan-tree-dump "static __inline__ int func\(int x\)" } } */ |