Debian Codegraph @

gcc/testsuite/g++.dg/modules/cpp-1.C

raw
1 // { dg-do preprocess }
2
3 module bob;
4 #if 1
5 export import stuart;
6 #else
7 import kevin;
8 #endif
9 import gru;
10 #define EXPORT
11 EXPORT import mabel;
12 int i;
13
14 // { dg-final { scan-file cpp-1.i "cpp-1.C\"\n\n\nmodule bob;\n\nexport import stuart;\n\n\n\nimport gru;\n\n import mabel;\n" } }