Debian Codegraph @

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

raw
1 // { dg-additional-options -fmodules-ts }
2 import bar;
3
4 int main ()
5 {
6 v (0); // { dg-error "too many arguments" }
7 }
8
9 // { dg-regexp {In module foo, imported at [^\n]*/reparent-1_b.C:14,\nof module bar, imported at [^\n]*/reparent-1_c.C:2:\n[^\n]*/reparent-1_a.C:6:13: note: declared here\n} }