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