Debian Codegraph @

gcc/testsuite/g++.dg/modules/import-2.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2 // Don't segfault on missing module BMI
3
4 // { dg-module-cmi "!bob" }
5 // { dg-module-cmi "!bill" }
6
7 import bill;
8 // { dg-regexp "In module imported at \[^\n]*import-2.C:7:.:\nbill: error: failed to read compiled module: \[^\n]*\n" }
9
10 // { dg-prune-output "fatal error:" }
11 // { dg-prune-output "compilation terminated" }
12