1 // REQUIRES: amdgpu-registered-target, clang-driver
3 // RUN: %clang -target x86_64-unknown-linux-gnu --offload-arch=gfx906 --cuda-device-only -nogpulib -nogpuinc -x hip -emit-llvm -S -o - %s \
4 // RUN: -fgpu-rdc -O3 -mllvm -amdgpu-early-inline-all=true -mllvm -amdgpu-function-calls=false | \
7 #include "Inputs/cuda.h"
9 // CHECK: %struct.B = type { i8 }
12 // CHECK: @_ZN1BC1Ei = hidden unnamed_addr alias void (%struct.B*, i32), void (%struct.B*, i32)* @_ZN1BC2Ei
16 __device__ B::B(int x) {