From d977f4ab99389a8f8b87d7bf950a8d111f148f9a Mon Sep 17 00:00:00 2001 From: Artem Belevich Date: Tue, 24 Nov 2015 02:45:55 +0000 Subject: [PATCH] Do not attempt to include CUDA headers during the test. llvm-svn: 253947 --- clang/test/Driver/cuda-simple.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/cuda-simple.cu b/clang/test/Driver/cuda-simple.cu index 99d4bfdc0e37..3dc0babea7b0 100644 --- a/clang/test/Driver/cuda-simple.cu +++ b/clang/test/Driver/cuda-simple.cu @@ -1,6 +1,6 @@ // Verify that we can parse a simple CUDA file with or without -save-temps // http://llvm.org/PR22936 -// RUN: %clang -Werror -fsyntax-only -c %s +// RUN: %clang -nocudainc -Werror -fsyntax-only -c %s // // Verify that we pass -x cuda-cpp-output to compiler after // preprocessing a CUDA file