OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [template/] [ttp7.C] - Blame information for rev 717

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 693 jeremybenn
// { dg-do compile }
2
// Contributed by Andrew Pinski 
3
// PR c++/13810: ICE while parsing invalid default argument for a
4
//   template template parameter.
5
 
6
struct X;
7
template struct A {};
8
 
9
template class = X > struct B1 {};     // { dg-error "as a default value" }
10
template class = A<0> > struct B2 {};  // { dg-error "as a default value" }
11
 
12
template 
13
struct S {
14
  template