| 1 |
// This tests whether the global module would be created when the program don't declare it explicitly. |
| 2 |
// RUN: %clang_cc1 -std=c++20 %s -verify |
| 3 |
// expected-no-diagnostics |
| 4 |
export module x; |
| 5 |
|
| 6 |
extern "C" void foo(); |
| 7 |
extern "C++" class CPP {}; |