// PR c++/89403 // { dg-do compile { target c++11 } } // { dg-options "-Os -fsyntax-only" } template struct A : T { constexpr A() : T() { } }; template struct B { A b; constexpr B() { } }; struct C { struct {} s; }; constexpr B b{}; constexpr C c = b.b;