gcc/testsuite/g++.dg/modules/circ-1_c.C
raw| 1 | // { dg-additional-options "-fmodules-ts" } |
| 2 | export module Bob; // { dg-message "declared here" } |
| 3 | // No need to dg-module-cmi |
| 4 | |
| 5 | import Kevin; |
| 6 | // { dg-error "failed to read" "" { target *-*-* } 0 } |
| 7 | // { dg-error "cannot import module" "" { target *-*-* } 0 } |
| 8 | // { dg-prune-output "fatal error:" } |
| 9 | // { dg-prune-output "compilation terminated" } |