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 3b9c3d2 commit ad840c4Copy full SHA for ad840c4
clang/test/Driver/cl-cxx20-modules.cppm
@@ -1,3 +1,6 @@
1
+// RUN: rm -rf %t
2
+// RUN: split-file %s %t
3
+
4
// RUN: %clang_cl /std:c++20 --precompile -### -- %s 2>&1 | FileCheck --check-prefix=PRECOMPILE %s
5
// PRECOMPILE: -emit-module-interface
6
@@ -6,3 +9,8 @@
9
7
10
// RUN: %clang_cl /std:c++20 --fprebuilt-module-path=. -### -- %s 2>&1 | FileCheck --check-prefix=FPREBUILT %s
8
11
// FPREBUILT: -fprebuilt-module-path=.
12
13
+// RUN: %clang_cl %t/test.pcm /std:c++20 -### 2>&1 | FileCheck --check-prefix=CPP20WARNING %t/test.pcm
14
15
+//--- test.pcm
16
+// CPP20WARNING-NOT: clang-cl: warning: argument unused during compilation: '/std:c++20' [-Wunused-command-line-argument]
0 commit comments