Fix error in compile-fail test; now fails to compile for the right reason

[SVN r84824]
This commit is contained in:
Marshall Clow
2013-06-18 14:46:32 +00:00
parent 05475fec0f
commit 4f269a270c

View File

@ -27,7 +27,7 @@ void test_sequence1 () {
typedef input_iterator<std::vector<int>::iterator> II;
// This should fail to compile, since gather doesn't work with input iterators
(void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_even );
(void) ba::gather ( II( v.begin ()), II( v.end ()), II( v.begin ()), is_ten );
}