Mercurial > hg > CbC > CbC_gcc
view gcc/testsuite/g++.old-deja/g++.pt/call1.C @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | |
children |
line wrap: on
line source
// { 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);