[AMDGPU][True16][CodeGen] true16 codegen pattern for v_med3_u/i16 (#121850)
[llvm-project.git] / clang / test / CodeGenCXX / dllexport-alias.cpp
blob2a14427cddc7390e7e3dbf7d099598a9cea7c0de
1 // RUN: %clang_cc1 -triple x86_64-windows-gnu -mconstructor-aliases %s -emit-llvm -o - | FileCheck %s
3 // This test assumes that the C1 constructor will be aliased to the C2
4 // constructor, and the D1 destructor to the D2. It then checks that the aliases
5 // are dllexport'ed.
7 class __declspec(dllexport) A {
8 public:
9 A();
10 ~A();
13 A::A() {}
15 A::~A() {}
17 // CHECK: @_ZN1AC1Ev = dso_local dllexport unnamed_addr alias void (ptr), ptr @_ZN1AC2Ev
18 // CHECK: @_ZN1AD1Ev = dso_local dllexport unnamed_addr alias void (ptr), ptr @_ZN1AD2Ev