☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
lang-3_b.C
☽
☼
gcc/testsuite/g++.dg/modules/lang-3_b.C
code
plain
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
}