[Flang] remove whole-archive option for AIX linker (#76039)
[llvm-project.git] / clang / test / CodeGenCXX / virtual-implicit-copy-assignment.cpp
blob031046597e8b377546a0d6c30f306173431ae585
1 // RUN: %clang_cc1 -triple %itanium_abi_triple -emit-llvm -o - %s | FileCheck %s
3 struct D;
4 struct B {
5 virtual D& operator = (const D&);
6 };
7 struct D : B { D(); virtual void a(); };
8 void D::a() {}
10 // CHECK: @_ZTV1D = {{.*}} @_ZN1DaSERKS_
11 // CHECK: define linkonce_odr {{.*}} @_ZN1DaSERKS_