Debian Codegraph @

testsuite/small/macro-20.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=f -DCE_EXPORT_SYMBOLS=struct_variable -DCE_RENAME_SYMBOLS" }*/
2
3 struct AA {
4 int aa;
5 };
6
7 struct AA struct_variable;
8
9 #define MACRO(x, y) ((x) + (y))
10
11 int f(void)
12 {
13 return MACRO(struct_variable.aa, 1);
14 }
15
16 /* { dg-final { scan-tree-dump "MACRO\(\(\*klpe_struct_variable\)\.aa, 1\);" } } */