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