3 // RUN: split-file %s %t
5 // RUN: %clang_cc1 -std=c++20 %t/a.cppm -fsyntax-only -verify
8 extern "C++" void c_func();
11 // expected-no-diagnostics
15 export extern "C++" void foo() {}
16 extern "C++" void bar() {}
17 export extern "C" void foo_c() {}
18 extern "C" void bar_c() {}