blob: eb32f13c916e7a417d9d02d446cd8bbce2158149 [file] [log] [blame]
// PR c++/60241
template <typename T>
struct x
{
template <typename U>
struct y
{
typedef T result2;
};
typedef y<int> zy;
};
template<>
template<class T>
struct x<int>::y
{
typedef double result2;
};
int main()
{
x<int>::zy::result2 xxx;
x<int>::y<int>::result2 xxx2;
}