Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts" }
2
3 #define garply fred
4 export module foo.bar:baz.garply;
5 // { dg-error "module partition 'garply' cannot be an object-like macro" "" { target *-*-* } .-1 }
6
7 // { dg-module-cmi !foo.bar:baz.garply }
8 // { dg-module-cmi !foo.bar:baz.fred }
9 // { dg-prune-output "not writing module" }