Skip to content

Commit 48570a6

Browse files
committed
[Driver,test] Add --target= to unsupported-option-gpu.c
1 parent 22c22d6 commit 48570a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/// Some target-specific options are ignored for GPU, so %clang exits with code 0.
2-
// DEFINE: %{check} = %clang -### -c -mcmodel=medium
2+
// DEFINE: %{check} = %clang -### --target=x86_64-linux-gnu -c -mcmodel=medium
33

44
// RUN: %{check} -x cuda %s --cuda-path=%S/Inputs/CUDA/usr/local/cuda --offload-arch=sm_60 --no-cuda-version-check -fbasic-block-sections=all
55
// RUN: %{check} -x hip %s --rocm-path=%S/Inputs/rocm -nogpulib -nogpuinc

0 commit comments

Comments
 (0)