diff --git a/clang/test/CXX/basic/basic.namespace/basic.namespace.general/p2.cppm b/clang/test/CXX/basic/basic.namespace/basic.namespace.general/p2.cppm index 61f13ce01925bb844e6045dac39b79ef42690636..9fa5120f884283d3ea22316764106ac458e8ac6a 100644 --- a/clang/test/CXX/basic/basic.namespace/basic.namespace.general/p2.cppm +++ b/clang/test/CXX/basic/basic.namespace/basic.namespace.general/p2.cppm @@ -1,8 +1,8 @@ // Check that the compiler wouldn't crash due to inconsistent namesapce linkage // RUN: rm -rf %t // RUN: mkdir -p %t -// RUN: %clang -std=c++20 %S/Inputs/p2.cppm --precompile -o %t/Y.pcm -// RUN: %clang -std=c++20 -fprebuilt-module-path=%t -I%S/Inputs %s -c -Xclang -verify +// RUN: %clang_cc1 -x c++ -std=c++20 %S/Inputs/p2.cppm -emit-module-interface -o %t/Y.pcm +// RUN: %clang_cc1 -x c++ -std=c++20 -fprebuilt-module-path=%t -I%S/Inputs %s -fsyntax-only -verify // expected-no-diagnostics export module X; import Y; diff --git a/clang/test/Modules/concept.cppm b/clang/test/Modules/concept.cppm index e14a158644afa82c289e2bdb160a32b8126ceb30..f171e6d08237434959da663c95710cb35de3a001 100644 --- a/clang/test/Modules/concept.cppm +++ b/clang/test/Modules/concept.cppm @@ -1,7 +1,7 @@ // RUN: rm -rf %t // RUN: mkdir %t -// RUN: %clang -std=c++20 %S/Inputs/concept/A.cppm --precompile -o %t/A.pcm -// RUN: %clang -std=c++20 -fprebuilt-module-path=%t -I%S/Inputs/concept %s -c -Xclang -verify +// RUN: %clang_cc1 -x c++ -std=c++20 %S/Inputs/concept/A.cppm -emit-module-interface -o %t/A.pcm +// RUN: %clang_cc1 -x c++ -std=c++20 -fprebuilt-module-path=%t -I%S/Inputs/concept %s -fsyntax-only -verify // expected-no-diagnostics module; diff --git a/clang/test/Modules/odr_using_dependent_name.cppm b/clang/test/Modules/odr_using_dependent_name.cppm index 8d7ea9f57bedce198f3d3fce15810d8857e82cfe..c2938855fdbe54097993b4354bd588c5c88e55de 100644 --- a/clang/test/Modules/odr_using_dependent_name.cppm +++ b/clang/test/Modules/odr_using_dependent_name.cppm @@ -1,7 +1,7 @@ // RUN: rm -rf %t // RUN: mkdir -p %t -// RUN: %clang -std=c++20 %S/Inputs/odr_using_dependent_name/X.cppm --precompile -o %t/X.pcm -// RUN: %clang -std=c++20 -I%S/Inputs/odr_using_dependent_name -fprebuilt-module-path=%t %s --precompile -c +// RUN: %clang_cc1 -std=c++20 %S/Inputs/odr_using_dependent_name/X.cppm -emit-module-interface -o %t/X.pcm +// RUN: %clang_cc1 -std=c++20 -I%S/Inputs/odr_using_dependent_name -fprebuilt-module-path=%t %s -emit-module-interface -fsyntax-only -verify // expected-no-diagnostics module; #include "foo.h"