Debian Codegraph @

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

raw
1 // { dg-additional-options -fmodules-ts }
2
3 extern "C++"
4 {
5 import "lang-1_a.H";
6 }
7
8 extern "C"
9 import "lang-1_a.H"; // OK since p2615r1
10
11 extern "C" int cfunc (int); // { dg-error "conflicting declaration" }
12 extern "C" int cxxfunc (int);