summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp86.C
blob: 382590683da831667ef33a8b0944454b7f22b7ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// { dg-do assemble }

// by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
// Copyright (C) 1999 Free Software Foundation

struct Q {
	template<class>
	class X {
	};
};
template<template<class> class>
class Y {
};
Y<typename Q::X> y; // { dg-error "" } typename out of template context