2 // Gives ICE on EGCS release branch as of 98/06/08 on i686-pc-linux-gnulibc1)
3 // From: Klaus-Georg Adams <Klaus-Georg.Adams@chemie.uni-karlsruhe.de>
4 // Message-Id: <199806081358.PAA02505@achibm5.chemie.uni-karlsruhe.de>
16 list<int>::iterator it =
17 find_if( l.begin(), l.end(),
18 // This is a typo, it should be bind2nd, but an
19 // ICE is not a very helpful diagnostic!
20 binder2nd( equal_to<int>(), 2 ) ); // { dg-error "" }