diff options
-rw-r--r-- | clang/test/Tooling/multi-jobs.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/clang/test/Tooling/multi-jobs.cpp b/clang/test/Tooling/multi-jobs.cpp index 36e3b3424d4..980ade41fdf 100644 --- a/clang/test/Tooling/multi-jobs.cpp +++ b/clang/test/Tooling/multi-jobs.cpp @@ -1,5 +1,6 @@ // RUN: not clang-check "%s" -- -no-integrated-as -c 2>&1 | FileCheck %s -// RUN: not clang-check "%s" -- -target x86_64-win32 -no-integrated-as -c 2>&1 | FileCheck %s +// The following test uses multiple time the same '-no-integrated-as' flag in order to make sure those flags are really skipped, and not just overwritten by luck : +// RUN: not clang-check "%s" -- -target x86_64-win32 -c -no-integrated-as -no-integrated-as -no-integrated-as 2>&1 | FileCheck %s // CHECK: C++ requires invalid; |