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