1 // PR c++/79606 2 // { dg-do compile { target c++11 } } 3 4 struct A 5 { 6 int i = 0; 7 }; 8 9 template<int> struct B : A 10 { 11 int j = this->i; 12 }; 13 14 B<0> b; 15