Debian Codegraph @

testsuite/small/rename-4.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=g -DCE_EXPORT_SYMBOLS=f" }*/
2
3 int f();
4
5 int f()
6 {
7 return 3;
8 }
9
10 int g()
11 {
12 return f();
13 }
14
15 /* { dg-final { scan-tree-dump "static int \(\*klpe_f\)\(\) __attribute__\(\(used\)\);|__attribute__\(\(used\)\) static int \(\*klpe_f\)\(\)" } } */
16 /* { dg-final { scan-tree-dump "return \(\*klpe_f\)\(\);" } } */