Skip to content

Commit 738c20e

Browse files
committed
[NFC] Use %clang instead of %clang++ in tests
Previously the tests uses %clang++ instead of %clang, which cause the test fail in windows.
1 parent b16460b commit 738c20e

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/test/Driver/modules.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ FOO;
7676

7777
// Check the independent use of -fcxx-modules
7878
//
79-
// RUN: %clang++ -fcxx-modules -std=c++17 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX17-MODULES
79+
// RUN: %clang -fcxx-modules -std=c++17 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX17-MODULES
8080
// CHECK-CXX17-MODULES: "-fcxx-modules"
81-
// RUN: %clang++ -fcxx-modules -std=c++14 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX14-MODULES
81+
// RUN: %clang -fcxx-modules -std=c++14 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX14-MODULES
8282
// CHECK-CXX14-MODULES: "-fcxx-modules"
83-
// RUN: %clang++ -fcxx-modules -std=c++11 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX11-MODULES
83+
// RUN: %clang -fcxx-modules -std=c++11 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX11-MODULES
8484
// CHECK-CXX11-MODULES: "-fcxx-modules"
85-
// RUN: %clang++ -fcxx-modules -std=c++03 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX03-MODULES
85+
// RUN: %clang -fcxx-modules -std=c++03 -### %s 2>&1 | FileCheck %s --check-prefix=CHECK-CXX03-MODULES
8686
// CHECK-CXX03-MODULES: "-fcxx-modules"

0 commit comments

Comments
 (0)