Debian Codegraph @

gcc/testsuite/g++.dg/modules/legacy-2_b.H

raw
1 // { dg-additional-options "-fmodule-header -fmodule-mapper=|@g++-mapper-server\\ -mt\\ $srcdir/g++.dg/modules/legacy-2.map" }
2 // { dg-module-cmi {} }
3
4 #define frob FROB
5
6 // this should be diverted, if it isn't the above #define will break us
7 #include "legacy-2_a.H"
8 int move (int X = __LINE__); // Capture __LINE__ in a non-definition
9
10 // this should not be diverted
11 #include "legacy-2.h"
12
13