From 123ae0f26b33f534e44ad260a25a009cdbf4a182 Mon Sep 17 00:00:00 2001 From: Michael Kuperstein Date: Thu, 7 Jul 2016 23:22:39 +0000 Subject: [PATCH] [CUDA] Pass correct option in test. llvm-svn: 274805 --- clang/test/Driver/cuda-version-check.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/test/Driver/cuda-version-check.cu b/clang/test/Driver/cuda-version-check.cu index f2009ee4137b..4aa59dfdce53 100644 --- a/clang/test/Driver/cuda-version-check.cu +++ b/clang/test/Driver/cuda-version-check.cu @@ -36,7 +36,7 @@ // -nocuda-version-check should suppress all of these errors. // RUN: %clang -v -### --cuda-gpu-arch=sm_60 --sysroot=%S/Inputs/CUDA 2>&1 \ -// RUN: -nocuda-version-check %s | \ +// RUN: --no-cuda-version-check %s | \ // RUN: FileCheck %s --check-prefix=OK // OK-NOT: error: GPU arch