testsuite/lateext/lateext-3.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_LATE_EXTERNALIZE -DCE_EXPORT_SYMBOLS=var -DCE_KEEP_INCLUDES" }*/ |
| 2 | |
| 3 | #include "lateext-3.h" |
| 4 | |
| 5 | int f(void) |
| 6 | { |
| 7 | return inline_func(); |
| 8 | } |
| 9 | |
| 10 | /* { dg-final { scan-tree-dump "static int \*klpe_var __attribute__\(\(used\)\);|__attribute__\(\(used\)\) static int \*klpe_var;" } } */ |
| 11 | /* { dg-final { scan-tree-dump-not "#include \"lateext-3.h\"" } } */ |