blob: 711c621e26a4383c19f254c9e84ee54b9995c6fd [file] [log] [blame]
// PR c++/4903
// Origin: Dan Marinescu <theverylittleone@hotmail.com>
// { dg-do compile }
template <typename T> struct A
{
template <typename U> struct B
{
A<T>::template B<U> foo(); // { dg-error "" "" { target c++17_down } }
};
};