testsuite/includes/rewrite-4.c
raw| 1 | /* { dg-options "-DCE_EXTRACT_FUNCTIONS=g -DCE_KEEP_INCLUDES -DCE_EXPORT_SYMBOLS=f -include $test_dir/header-1.h" }*/ |
| 2 | |
| 3 | int g(void) |
| 4 | { |
| 5 | return f(); |
| 6 | } |
| 7 | |
| 8 | /* { dg-final { scan-tree-dump "static int \(\*klpe_f\)\(void\) __attribute__\(\(used\)\);|__attribute__\(\(used\)\) static int \(\*klpe_f\)\(void\);" } } */ |
| 9 | /* { dg-final { scan-tree-dump "\(\*klpe_f\)\(\)" } } */ |