Debian Codegraph @

gcc/testsuite/g++.dg/modules/cpp-9.C

raw
1 // { dg-do preprocess }
2 // { dg-additional-options "-fmodules-ts" }
3
4 #define bob fred;
5 export module foo.bob; // { dg-error "module name 'bob' cannot be an object-like macro" }
6
7 int i;