Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/memtemp88.C

raw
1 // { dg-do assemble }
2
3 // by Paul Burchard <[email protected]>, Level Set Systems, Inc.
4 // Copyright (C) 1999 Free Software Foundation
5
6 struct 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