(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
mod-decl-2_b.C
// { dg-additional-options "-fmodules-ts" }
module bob;

import bob; // { dg-error "cannot import module.* in its own purview" }

// module linkage
void Baz ()
{
  Foo ();
  Bar ();
}