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