URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.dg/] [other/] [nontype-1.C] - Rev 700
Go to most recent revision | Compare with Previous | Blame | View Log
template <class Op>
bool asfun(Op f,
Op::first_argument_type a, // { dg-error "not a type" }
Op::second_argument_type b) // { dg-error "not a type" }
{
return Op(a, b);
}
Go to most recent revision | Compare with Previous | Blame | View Log