Sign in
gnu
/
gcc
/
93ac832f1846e4867aa6537f76f510fab8e3e87d
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
namespace-2_b.C
blob: 6ab5113c23abf5ec51351e3ce7eee0e814690f8e [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
import
foo
;
static
int
also_not_exported
;
// ok
void
X
()
{
implicit_export
::
bob
();
}
static
int
implicit_export
;
// { dg-error "different kind" }
void
Y
()
{
also_not_exported
=
1
;
}