We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949e3b0 commit e1d22f5Copy full SHA for e1d22f5
clang/test/Modules/cxx20-export-import.cpp
@@ -1,3 +1,4 @@
1
2
+// RUN: rm -rf %t
3
// RUN: %clang_cc1 -std=c++20 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps -I%S/Inputs -verify %s
4
export import dummy; // expected-error {{export declaration can only be used within a module interface unit after the module declaration}}
0 commit comments