Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
mod-decl-8.C
blob: 9f5f1de544a6ee1e815bdc08ca3cf6decc8fce09 [
file
] [
log
] [
blame
]
// { dg-additional-options "-fmodules-ts" }
// { dg-module-cmi M }
export
module
M
;
struct
module
{};
struct
import
{};
void
foo
()
{
module
x
;
// OK
import
y
;
// OK
}