diff --git a/clang/test/Driver/cuda-simple.cu b/clang/test/Driver/cuda-simple.cu index cdc1d5b7b9adfd..349ee42464cc1d 100644 --- a/clang/test/Driver/cuda-simple.cu +++ b/clang/test/Driver/cuda-simple.cu @@ -15,7 +15,7 @@ // // Verify that compiler accepts CUDA syntax with "-x cuda-cpp-output". // RUN: %clang --cuda-path=%S/Inputs/CUDA/usr/local/cuda \ -// RUN: -Werror -fsyntax-only -x cuda-cpp-output -c %s +// RUN: -Werror -fsyntax-only -x cuda-cpp-output %s extern "C" int cudaConfigureCall(int, int); extern "C" int __cudaPushCallConfiguration(int, int);