FSF GCC merge 02/23/03
[official-gcc.git] / gcc / testsuite / g++.old-deja / g++.pt / memtemp88.C
blob56dab46736c650e0f59148c64bde9c2363828dcd
1 // Build don't link:
2 // crash test - XFAIL *-*-*
4 // by Paul Burchard <burchard@pobox.com>, Level Set Systems, Inc.
5 // Copyright (C) 1999 Free Software Foundation
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;