// PR c++/91706 // { dg-do compile { target c++11 } } // { dg-additional-options -g } template struct A; struct B { static constexpr bool g = false; }; struct C { template static B c (); }; template struct D : C { using c = decltype (c()); using E = A; }; D g;