]> granicus.if.org Git - clang/commitdiff
Do not attempt to include CUDA headers during the test.
authorArtem Belevich <tra@google.com>
Tue, 24 Nov 2015 02:45:55 +0000 (02:45 +0000)
committerArtem Belevich <tra@google.com>
Tue, 24 Nov 2015 02:45:55 +0000 (02:45 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@253947 91177308-0d34-0410-b5e6-96231b3b80d8

test/Driver/cuda-simple.cu

index 99d4bfdc0e375447c6f57ecd065065ed6da0744b..3dc0babea7b01d77d15f9f12e07d875ae588bfd0 100644 (file)
@@ -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