[RISCV][FMV] Support target_clones (#85786)
[llvm-project.git] / clang / test / Driver / cuda-constructor-alias.cu
blobb7867e095f27fa88ed48973bdefd7da9eb0efead
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
5 // CHECK: "-cc1"
6 // CHECK-NOT: "-fcuda-is-device" {{.*}}"-mconstructor-aliases"
7 // CHECK-NOT: "-mconstructor-aliases" {{.*}}"-fcuda-is-device"
8 // CHECK: "-cc1"
9 // CHECK-SAME: "-mconstructor-aliases"