☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
loc-2_d.C
☽
☼
gcc/testsuite/g++.dg/modules/loc-2_d.C
code
plain
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:.*" }