URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-old/] [gcc-4.2.2/] [gcc/] [testsuite/] [g++.dg/] [template/] [typedef5.C] - Rev 149
Go to most recent revision | Compare with Previous | Blame | View Log
// PR c++/27572
// { dg-do compile }
template<typedef,int> struct A1; // { dg-error "no type|typedef declaration|default argument" }
template<typedef x,int> struct A2; // { dg-error "no type|typedef declaration|default argument" }
template<typedef x[],int> struct A3; // { dg-error "no type|typedef declaration|default argument" }
template<typedef int x, int> struct A4; // { dg-error "typedef declaration|default argument" }
Go to most recent revision | Compare with Previous | Blame | View Log