Debian Codegraph @

gcc/testsuite/g++.dg/modules/loc-1_c.C

raw
1 // { dg-additional-options "-fmodules-ts" }
2
3 import bob;
4 import stuart;
5
6 void kevin ()
7 {
8 frob (nullptr); // { dg-error "call of overload" }
9 }
10
11 // { dg-regexp "In module stuart, imported at \[^\n]*loc-1_c.C:4:\n\[^\n]*loc-1_b.C:7:12: note:.*" }
12 // { dg-regexp "In module bob, imported at \[^\n]*loc-1_c.C:3:\n\[^\n]*loc-1_a.C:6:12: note:.*" }
13
14