Skip to content

Commit c355489

Browse files
PR19601: testcase improvement
The test can now catch all cases: - no removal of the 'no-integrated-as' flag - bogus removal of the flag, like when the remove_if was not followed by an erase git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@207787 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 387e171 commit c355489

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Tooling/multi-jobs.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
// RUN: not clang-check "%s" -- -no-integrated-as -c 2>&1 | FileCheck %s
2-
// RUN: not clang-check "%s" -- -target x86_64-win32 -no-integrated-as -c 2>&1 | FileCheck %s
2+
// 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 :
3+
// RUN: not clang-check "%s" -- -target x86_64-win32 -c -no-integrated-as -no-integrated-as -no-integrated-as 2>&1 | FileCheck %s
34

45
// CHECK: C++ requires
56
invalid;

0 commit comments

Comments
 (0)