blob: 9d15c2e6604e5ed163ddf95467c14d908a494770 [file] [log] [blame]
// PR c++/60493
template <class T, class U>
struct foo
{
};
template <class T>
struct baz
{
class bar;
};
template <class T, class D>
struct baz<T>::bar : foo<int, D> // { dg-error "parameters|required" }
{
};
baz<int>::bar it; // { dg-error "incomplete" }