1 // RUN: %clang_cc1 %s -triple=x86_64-apple-darwin10 -emit-llvm -o - | FileCheck %s
10 // A does not have a key function, so the first constructor we emit should
11 // cause the vtable to be defined (without assertions.)
12 // CHECK: @_ZTVN6PR56971AE = linkonce_odr unnamed_addr constant
17 // Make sure that we don't assert when building the vtable for a class
18 // template specialization or explicit instantiation with a key
26 struct Derived
: public Base
<T
> { };
29 struct Derived
<char> : public Base
<char> {
30 virtual void anchor();
33 void Derived
<char>::anchor() { }