// PR c++/90679 // A version of alias-decl-75a.C where the alias template specialization // appears as a more deeply nested template argument. // { dg-do compile { target c++11 } } template using first_t = T; template struct A; template struct traits; template struct traits>>> { static constexpr int value = 1; }; template struct traits>>> { static constexpr int value = 2; }; static_assert(traits>>::value == 1, ""); static_assert(traits>>::value == 2, ""); // { dg-bogus "ambiguous" }