Debian Codegraph @

gcc/testsuite/g++.dg/modules/loc-2_d.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2
3 import stuart;
4
5 void foo ()
6 {
7 frob (2); /* { dg-error "invalid conversion" } */
8 }
9
10 // { dg-regexp "In module bob, imported at \[^\n]*loc-2_b.C:6,\nof module stuart, imported at \[^\n]*loc-2_d.C:3:\n\[^\n]*loc-2_a.C:6:18: note:.*" }