URL
https://opencores.org/ocsvn/scarts/scarts/trunk
Subversion Repositories scarts
[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [testsuite/] [g++.old-deja/] [g++.pt/] [call1.C] - Rev 12
Compare with Previous | Blame | View Log
// { dg-do assemble }
struct IsCompressed { };
struct Field {
bool IsCompressed() const { return true; }
};
template<class C>
inline bool
for_each(const Field& p, IsCompressed, C)
{
return p.IsCompressed();
}
template bool for_each<int>(const Field& p, IsCompressed, int);