Sign in
gnu
/
gcc.git
/
refs/heads/master
/
.
/
gcc
/
testsuite
/
g++.dg
/
modules
/
mod-invalid-1.C
blob: fadaba0b56086b9833c92c9fd6f56d0643f66ae1 [
file
]
// { dg-additional-options "-fmodules-ts" }
module
;
module
:
foo
;
// { dg-error "expected module-name" }
import
:
foo
;
// { dg-error "import specifying a module-partition must appear after a named module-declaration" }