1 // Check that we don't pass -mconstructor-aliases to CUDA device-side
2 // compilation, but we do pass it to host-side compilation.
4 // RUN: %clang -### --target=x86_64-linux-gnu --cuda-path=%S/Inputs/CUDA/usr/local/cuda %s 2>&1 | FileCheck %s
6 // CHECK-NOT: "-fcuda-is-device" {{.*}}"-mconstructor-aliases"
7 // CHECK-NOT: "-mconstructor-aliases" {{.*}}"-fcuda-is-device"
9 // CHECK-SAME: "-mconstructor-aliases"