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