diff --git a/clang/test/Driver/cl-offload.cu b/clang/test/Driver/cl-offload.cu index c3bc5a2c08275..ec1d8ba54954a 100644 --- a/clang/test/Driver/cl-offload.cu +++ b/clang/test/Driver/cl-offload.cu @@ -1,3 +1,7 @@ +// REQUIRES: !system-darwin + +// The test cannot be run on Darwin because /Users will be treated as a MSVC option. + // RUN: %clang_cl -### -target x86_64-pc-windows-msvc --offload-arch=sm_35 -fgpu-rdc \ // RUN: --cuda-path=%S/Inputs/CUDA/usr/local/cuda \ // RUN: /Wall -x cuda %s 2>&1 \