[clang] 43eb098 - [Driver][test] fix cuda-simple.cu: -fsyntax-only -c => -c

Fangrui Song via cfe-commits cfe-commits at lists.llvm.org
Wed May 17 00:21:08 PDT 2023


Author: Fangrui Song
Date: 2023-05-17T00:21:03-07:00
New Revision: 43eb0982b5e1b8a48cac581906794911eb901c74

URL: https://github.com/llvm/llvm-project/commit/43eb0982b5e1b8a48cac581906794911eb901c74
DIFF: https://github.com/llvm/llvm-project/commit/43eb0982b5e1b8a48cac581906794911eb901c74.diff

LOG: [Driver][test] fix cuda-simple.cu: -fsyntax-only -c => -c

Added: 
    

Modified: 
    clang/test/Driver/cuda-simple.cu

Removed: 
    


################################################################################
diff  --git a/clang/test/Driver/cuda-simple.cu b/clang/test/Driver/cuda-simple.cu
index cdc1d5b7b9ad..349ee42464cc 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);


        


More information about the cfe-commits mailing list