Debian Codegraph @

gcc/testsuite/g++.old-deja/g++.pt/call1.C

raw
1 // { dg-do assemble }
2
3 struct IsCompressed { };
4 struct Field {
5 bool IsCompressed() const { return true; }
6 };
7
8 template<class C>
9 inline bool
10 for_each(const Field& p, IsCompressed, C)
11 {
12 return p.IsCompressed();
13 }
14
15 template bool for_each<int>(const Field& p, IsCompressed, int);