gcc/testsuite/g++.dg/modules/map-2.C
raw| 1 | // { dg-additional-options "-fmodules-ts -fmodule-mapper=[srcdir]/map-2.map" } |
| 2 | |
| 3 | |
| 4 | // Ick! no cross-host testing for you! |
| 5 | // { dg-additional-files map-2.map } |
| 6 | |
| 7 | export module foo; |
| 8 | // { dg-error "interface: no such module" "" { target *-*-* } .-1 } |
| 9 | // { dg-error "failed reading mapper" "" { target *-*-* } 0 } |
| 10 | // { dg-prune-output "compilation terminated" } |