From d0be3c0b6c052caa213a8d04bcec32d74f19f43b Mon Sep 17 00:00:00 2001 From: Jonas Hahnfeld Date: Fri, 12 Aug 2016 10:36:04 +0000 Subject: [PATCH] Fix cuda-detect.cu when CLANG_DEFAULT_CXX_STDLIB is set Reported by Ismail Donmez! git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@278497 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/Driver/cuda-detect.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/Driver/cuda-detect.cu b/test/Driver/cuda-detect.cu index f14e7b2991..4994fd6979 100644 --- a/test/Driver/cuda-detect.cu +++ b/test/Driver/cuda-detect.cu @@ -74,7 +74,7 @@ // Verify that C++ include paths are passed for both host and device frontends. // RUN: %clang -### -no-canonical-prefixes -target x86_64-linux-gnu %s \ -// RUN: --sysroot=%S/Inputs/ubuntu_14.04_multiarch_tree2 2>&1 \ +// RUN: --stdlib=libstdc++ --sysroot=%S/Inputs/ubuntu_14.04_multiarch_tree2 2>&1 \ // RUN: | FileCheck %s --check-prefix CHECK-CXXINCLUDE // CHECK: Found CUDA installation: {{.*}}/Inputs/CUDA/usr/local/cuda -- 2.40.0