diff options
| author | Justin Lebar <jlebar@google.com> | 2016-01-25 22:52:31 +0000 |
|---|---|---|
| committer | Justin Lebar <jlebar@google.com> | 2016-01-25 22:52:31 +0000 |
| commit | bbdf697a51e14d6a0f000569cb6c1a87bc172f07 (patch) | |
| tree | 3de49d5155f7b8dd9fa23943afb6038dabff3f04 | |
| parent | 8976365c3813c2cbd582329e1d1e5d7bc1b3cbcb (diff) | |
| download | bcm5719-llvm-bbdf697a51e14d6a0f000569cb6c1a87bc172f07.tar.gz bcm5719-llvm-bbdf697a51e14d6a0f000569cb6c1a87bc172f07.zip | |
[CUDA] Add -target to cuda-constructor-alias.cu test so it doesn't fail on Mac.
The test was checking that we passed -mconstructor-alias to host
compilation, but that explicitly shouldn't happen on Mac.
llvm-svn: 258737
| -rw-r--r-- | clang/test/Driver/cuda-constructor-alias.cu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Driver/cuda-constructor-alias.cu b/clang/test/Driver/cuda-constructor-alias.cu index 76f8e4fc90b..e0fd329abf6 100644 --- a/clang/test/Driver/cuda-constructor-alias.cu +++ b/clang/test/Driver/cuda-constructor-alias.cu @@ -5,7 +5,7 @@ // Check that we don't pass -mconstructor-aliases to CUDA device-side // compilation, but we do pass it to host-side compilation. -// RUN: %clang -### %s 2>&1 | FileCheck %s +// RUN: %clang -### -target x86_64-linux-gnu %s 2>&1 | FileCheck %s // CHECK: "-cc1" // CHECK-NOT: "-fcuda-is-device" {{.*}}"-mconstructor-aliases" // CHECK-NOT: "-mconstructor-aliases" {{.*}}"-fcuda-is-device" |

