Debian Codegraph @

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

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