test reserve()
This commit is contained in:
@ -48,6 +48,7 @@ int main () {
|
|||||||
assert (haystack.find(needle) == 0);
|
assert (haystack.find(needle) == 0);
|
||||||
haystack.clear();
|
haystack.clear();
|
||||||
assert (haystack.find(needle) == 0);
|
assert (haystack.find(needle) == 0);
|
||||||
|
haystack.reserve(10000);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
EOF
|
EOF
|
||||||
|
Reference in New Issue
Block a user