mirror of https://github.com/microsoft/clang.git
Protect a clang-cl file path with --.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@333501 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
91f7575159
commit
67206b2c96
|
@ -1,7 +1,7 @@
|
|||
// RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux 2>&1 | FileCheck --check-prefix=NOFLAG %s
|
||||
// RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux -fcomplete-member-pointers 2>&1 | FileCheck %s
|
||||
// RUN: %clangxx -### -c %s -o %t.o -target x86_64-unknown-linux -fcomplete-member-pointers -fno-complete-member-pointers 2>&1 | FileCheck --check-prefix=NOFLAG %s
|
||||
// RUN: %clang_cl -### /c %s /Fo%t.o -target x86_64-pc-win32 -fcomplete-member-pointers 2>&1 | FileCheck %s
|
||||
// RUN: %clang_cl -### /c /Fo%t.o -target x86_64-pc-win32 -fcomplete-member-pointers -- %s 2>&1 | FileCheck %s
|
||||
|
||||
// CHECK: "-fcomplete-member-pointers"
|
||||
// NOFLAG-NOT: "-fcomplete-member-pointers"
|
||||
|
|
Loading…
Reference in New Issue