Debian Codegraph @

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

raw
1 // { dg-additional-options "-fmodules-ts" }
2
3 import kevin;
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_c.C:7,\nof module kevin, imported at \[^\n]*loc-2_f.C:3:\n\[^\n]*loc-2_a.C:6:18: note:.*" }