mirror of https://github.com/microsoft/clang.git
test/Driver: Add some --stdlib=platform, NFC.
This fixes the failing test when building with CLANG_DEFAULT_CXX_STDLIB. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@323231 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
a6717a6c9f
commit
1bf4e5a928
|
@ -2,7 +2,7 @@
|
|||
//
|
||||
// Sparc, 32bit
|
||||
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC %s
|
||||
// CHECK_SOLARIS_SPARC: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -12,7 +12,7 @@
|
|||
|
||||
// Sparc, 64bit
|
||||
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 \
|
||||
// RUN: --target=sparc-sun-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_sparc_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_SPARC64 %s
|
||||
// CHECK_SOLARIS_SPARC64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -22,7 +22,7 @@
|
|||
|
||||
// Intel, 32bit
|
||||
// RUN: %clang -no-canonical-prefixes %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=i386-pc-solaris2.11 \
|
||||
// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X86 %s
|
||||
// CHECK_SOLARIS_X86: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
@ -32,7 +32,7 @@
|
|||
|
||||
// Intel, 64bit
|
||||
// RUN: %clang -no-canonical-prefixes -m64 %s -### -fsyntax-only 2>&1 \
|
||||
// RUN: --target=i386-pc-solaris2.11 \
|
||||
// RUN: --target=i386-pc-solaris2.11 --stdlib=platform \
|
||||
// RUN: --sysroot=%S/Inputs/solaris_x86_tree \
|
||||
// RUN: | FileCheck --check-prefix=CHECK_SOLARIS_X64 %s
|
||||
// CHECK_SOLARIS_X64: "{{[^"]*}}clang{{[^"]*}}" "-cc1"
|
||||
|
|
Loading…
Reference in New Issue