Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts" }
2 module bob;
3
4 import bob; // { dg-error "cannot import module.* in its own purview" }
5
6 // module linkage
7 void Baz ()
8 {
9 Foo ();
10 Bar ();
11 }