Debian Codegraph @

gcc/testsuite/g++.dg/modules/mod-decl-5_b.C

raw
1 // { dg-additional-options "-fmodules-ts -Wno-pedantic" }
2 module;
3 # 4 "gmf" 1
4 import thing.baz;
5
6 export int foo (); // { dg-error "after a module interface" }
7 # 8 "" 2
8 export module thing.baz; // { dg-error "module already imported" }
9
10 import thing.baz;
11