Debian Codegraph @

gcc/testsuite/g++.dg/modules/lang-3_b.C

raw
1 // { dg-additional-options -fmodules-ts }
2 import bob;
3
4 void Foo ()
5 {
6 Bar ();
7 Baz (); // { dg-error "was not declared" }
8 Quux ();
9 }
10
11 void Bar ();
12 void Baz ();
13
14 void Quux ()
15 {
16 Bar ();
17 Baz ();
18 }