llvm-project/clang/test/CodeGenCXX/virt-template-vtable.cpp

13 lines
197 B
C++

// RUN: %clang_cc1 %s -emit-llvm -o - | FileCheck %s
template<class T> class A {
A() {}
virtual void a() {}
};
class B : A<int> {
B();
};
B::B() {}
// CHECK: @_ZTV1AIiE = weak_odr constant