[Driver][test] fix cuda-simple.cu: -fsyntax-only -c => -c
authorFangrui Song <i@maskray.me>
Wed, 17 May 2023 07:21:03 +0000 (00:21 -0700)
committerFangrui Song <i@maskray.me>
Wed, 17 May 2023 07:21:03 +0000 (00:21 -0700)
clang/test/Driver/cuda-simple.cu

index cdc1d5b..349ee42 100644 (file)
@@ -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);