blob: 3968977f2235fbe59352f12b58d9464f16f94f76 [file] [log] [blame]
// { dg-do assemble { xfail *-*-* } }
// 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;
};