1 // PR c++/50614 2 // { dg-do compile { target c++11 } } 3 // { dg-options "-fcompare-debug" } 4 5 struct A 6 { 7 int f (); 8 }; 9 10 template <int> struct B : A 11 { 12 int i = this->f (); 13 }; 14 15 B<0> b; 16