1 // PR c++/58725 2 // { dg-do compile { target c++11 } } 3 4 struct A { 5 template<int=0> 6 struct B { 7 struct C { 8 int x = 0; 9 double y = x; 10 } c; 11 }; 12 }; main()13 int main() { 14 A::B<>(); 15 } 16