summaryrefslogtreecommitdiffstats
path: root/clang/test/Driver/gcc-toolchain.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'clang/test/Driver/gcc-toolchain.cpp')
-rw-r--r--clang/test/Driver/gcc-toolchain.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/test/Driver/gcc-toolchain.cpp b/clang/test/Driver/gcc-toolchain.cpp
index ca96757a2bb..6c872f4255c 100644
--- a/clang/test/Driver/gcc-toolchain.cpp
+++ b/clang/test/Driver/gcc-toolchain.cpp
@@ -3,12 +3,14 @@
// RUN: %clangxx -no-canonical-prefixes %s -### -o %t 2>&1 \
// RUN: --target=i386-unknown-linux -stdlib=libstdc++ \
// RUN: --gcc-toolchain=%S/Inputs/ubuntu_11.04_multiarch_tree/usr \
+// RUN: --sysroot="" \
// RUN: | FileCheck %s
//
// Additionally check that the legacy spelling of the flag works.
// RUN: %clangxx -no-canonical-prefixes %s -### -o %t 2>&1 \
// RUN: --target=i386-unknown-linux -stdlib=libstdc++ \
// RUN: -gcc-toolchain %S/Inputs/ubuntu_11.04_multiarch_tree/usr \
+// RUN: --sysroot="" \
// RUN: | FileCheck %s
//
// Test for header search toolchain detection.
OpenPOWER on IntegriCloud