Debian Codegraph @

gcc/testsuite/g++.dg/modules/ambig-1_b.C

raw
1 // { dg-additional-options -fmodules-ts }
2 import One;
3
4 int foo (); // { dg-error "conflicts with import" }
5 int bax (); // { dg-error "ambiguating new declaration" }
6 int quux (int);