[libc++] Add a regression test for erasing from a vector
authorArthur O'Dwyer <arthur.j.odwyer@gmail.com>
Tue, 29 Sep 2020 16:17:26 +0000 (12:17 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 29 Sep 2020 16:19:05 +0000 (12:19 -0400)
commit7bed95a856f1e0146e838e7575677159f42f3bf7
tree78a2ba1ceb4b6b4fc90d3291e23aca22aefe15d8
parente5f047f27ec121e63e765d30683a472d1ba19ca5
[libc++] Add a regression test for erasing from a vector

After rebasing my trivially-relocatable branch, this behavior was broken...
but no libc++ unit test caught it! Add a regression test specifically for
erasing out of a vector.

Differential Revision: https://reviews.llvm.org/D88421
libcxx/test/std/containers/sequences/vector/vector.modifiers/erase_iter.pass.cpp