☰
Debian Codegraph
@
15:15.3.rel1-2
15:15.3.rel1-1
/
/
gcc
/
testsuite
/
g++.dg
/
modules
/
ambig-2_b.C
☽
☼
gcc/testsuite/g++.dg/modules/ambig-2_b.C
code
plain
raw
1
// { dg-additional-options "-fmodules-ts" }
2
// { dg-module-cmi !B }
3
4
export module B;
5
import A;
6
7
extern "C++" int foo ();
8
extern "C++" int bar (); // { dg-error "ambiguating new declaration" }