blob: acbe4342542e467c79d42c5898f0a2af8827dadf [file] [log] [blame]
// PR c++/11471
// Origin: <bagnara@cs.unipr.it>
// { dg-do compile }
template<typename T> struct A
{
typedef typename T::X X;
};
template<typename T> A<T>::X::X() {} // { dg-error "expected|no type|invalid use|not a type|dependent" }