Debian Codegraph @

testsuite/small/ifdef-1.c

raw
1 /* { dg-options "-DCE_EXTRACT_FUNCTIONS=function -DCE_NO_EXTERNALIZATION" }*/
2
3 //#define AA
4
5 #ifdef AA
6 int function(void) {
7 int x = 3;
8 #else
9 int function(int x) {
10 #endif
11 return x;
12 }
13
14 /* { dg-final { scan-tree-dump "int function\(int x\) {" } } */