From: Artem Belevich Date: Tue, 24 Nov 2015 02:45:55 +0000 (+0000) Subject: Do not attempt to include CUDA headers during the test. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=547deb20895b42e8c7911274ecf656948a896579;p=clang Do not attempt to include CUDA headers during the test. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253947 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/Driver/cuda-simple.cu b/test/Driver/cuda-simple.cu index 99d4bfdc0e..3dc0babea7 100644 --- a/test/Driver/cuda-simple.cu +++ b/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