blob: 26a49b507dc43b941140e7f4609c5d0d9a8faffe [file] [log] [blame]
// { 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);