testsuite/includes/include-9.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=g -DCE_NO_EXTERNALIZATION -DCE_KEEP_INCLUDES -DCE_EXPAND_INCLUDES=other/other-header-1.h" }*/ |
| 2 | |
| 3 | #include "other/other-header-1.h" |
| 4 | |
| 5 | int g(void) |
| 6 | { |
| 7 | return f(); |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-tree-dump "int f\(void\)" } } */ |
| 11 | /* { dg-final { scan-tree-dump "return f\(\);" } } */ |
| 12 | /* { dg-final { scan-tree-dump-not "#include \"other-header-2.h\"" } } */ |