Sign in
gnu
/
gcc
/
1f16a020acbea0af26209478990b83b1a1ba3a2b
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
mod-decl-2_b.C
blob: a3ea9b5aa6ac53fceba2c61dff427da8ab479334 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
module
bob
;
import
bob
;
// { dg-error "cannot import module.* in its own purview" }
// module linkage
void
Baz
()
{
Foo
();
Bar
();
}