1 // Build don't link:
2 // crash test - XFAIL *-*-*
3 
4 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
5 // Copyright (C) 1999 Free Software Foundation
6 
7 struct Q {
8 	template<class>
9 	class X {
10 	};
11 	template<template<class> class XX = X> // gets bogus error - (original definition appeared here)
12 	class Y {
13 	}; // gets bogus error - redefinition of default argument for `template <class> XX'
14 	Y<> y;
15 };
16 
17