1 // { dg-do assemble } 2 // Bug: instantiation of D() corrupts declaration of basis[]. 3 4 struct B { }; 5 template <int t> 6 struct D : public B 7 { DD8 D() : B () { } 9 }; 10 11 B const * basis[] = 12 { 13 new D<0>, 14 new D<1>, 15 }; 16