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