URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [call2.C] - Rev 716
Go to most recent revision | Compare with Previous | Blame | View Log
// { dg-do assemble }
struct IsCompressed { };
struct Field {
};
template<class C>
inline bool
for_each(const Field& p, IsCompressed, C)
{
return p.IsCompressed(); // { dg-error "" } calling type like a method
}
template bool for_each<int>(const Field& p, IsCompressed, int);
Go to most recent revision | Compare with Previous | Blame | View Log