forked from OSchip/llvm-project
[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
This commit is contained in:
parent
8976365c38
commit
bbdf697a51
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue