// PR c++/103968 // { dg-do compile { target c++11 } } template struct trait { template struct NonInstantiated{}; }; struct Options {}; template struct Widget { static constexpr auto c_options = Options{}; using Trait = trait; }; Widget::Trait b{}; // Crashes GCC > 10.3