From 43eb0982b5e1b8a48cac581906794911eb901c74 Mon Sep 17 00:00:00 2001 From: Fangrui Song Date: Wed, 17 May 2023 00:21:03 -0700 Subject: [PATCH] [Driver][test] fix cuda-simple.cu: -fsyntax-only -c => -c --- clang/test/Driver/cuda-simple.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/cuda-simple.cu b/clang/test/Driver/cuda-simple.cu index cdc1d5b..349ee42 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); -- 2.7.4