Debian Codegraph @

testsuite/small/macro-10.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_NO_EXTERNALIZATION" }*/
2 int a_symbol;
3
4 #define thismacro a_symbol
5
6 #define concat(a, b) a##b
7
8 int f()
9 {
10 return concat(this, macro);
11 }
12
13 /* { dg-final { scan-tree-dump "int a_symbol;" } } */
14 /* { dg-final { scan-tree-dump "#define thismacro a_symbol" } } */
15 /* { dg-final { scan-tree-dump "#define concat\(a, b\)" } } */