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

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

class Q {
public:
	template<class>
	class X {
	};
};
template<template<class> class>
class Y {
};
Q::template X<int> x; // { dg-error "" } template syntax