(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
modules/
using-3.C
// { dg-additional-options -fmodules-ts }
export module bad;
// { dg-module-cmi !bad }

namespace N
{
static int foo ();
int bar ();
}

using N::foo;
using N::bar;

export using N::foo; // { dg-error "does not have external linkage" }
export using N::bar; // { dg-error "does not have external linkage" }

// { dg-prune-output "not writing module" }