// PR c++/89480 // { dg-do compile { target c++11 } } template struct TSelect {}; enum What { The }; template struct AnotherOneSelector { static constexpr Foo Id = Foo::The; }; template struct THelper; template struct THelper::Id}>> {}; int main() { THelper> t; }