Commit e70eea31 by Jason Merrill

fix

From-SVN: r20674
parent 48b24bcd
...@@ -16,7 +16,7 @@ int main() ...@@ -16,7 +16,7 @@ int main()
find_if( l.begin(), l.end(), find_if( l.begin(), l.end(),
// This is a typo, it should be bind2nd, but an // This is a typo, it should be bind2nd, but an
// ICE is not a very helpful diagnostic! // ICE is not a very helpful diagnostic!
binder2nd( equal_to<int>(), 2 ) ); // ERROR - binder2nd( equal_to<int>(), 2 ) ); // ERROR -
assert( *(it) == 2 ); assert( *(it) == 2 );
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment