repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
c++: Follow module grammar more closely [PR110808]
[official-gcc.git]
/
gcc
/
testsuite
/
g++.dg
/
modules
/
mod-invalid-1.C
blob
fadaba0b56086b9833c92c9fd6f56d0643f66ae1
1
// { dg-additional-options "-fmodules-ts" }
2
3
module;
4
5
module :foo; // { dg-error "expected module-name" }
6
7
import :foo; // { dg-error "import specifying a module-partition must appear after a named module-declaration" }