summaryrefslogtreecommitdiff
path: root/gcc/testsuite/g++.old-deja/g++.pt/memtemp88.C
blob: 98de9aa4de3f267de968094c70c9603b6a7475dd (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 XX = X> // { dg-bogus "" } (original definition appeared here)
	class Y {
	}; // { dg-bogus "" } redefinition of default argument for `template <class> XX'
	Y<> y;
};