mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-24 03:32:35 +08:00
[libcxx] [test] Strip trailing whitespace, NFC.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@324959 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -29,7 +29,7 @@ TEST_CONSTEXPR bool equal2 ( int i ) { return i == 2; }
|
||||
#if TEST_STD_VER > 17
|
||||
TEST_CONSTEXPR bool test_constexpr() {
|
||||
int ia[] = {1, 3, 5, 2, 5, 6};
|
||||
|
||||
|
||||
auto it = std::remove_if(std::begin(ia), std::end(ia), equal2);
|
||||
|
||||
return (std::begin(ia) + std::size(ia) - 1) == it // we removed one element
|
||||
|
||||
Reference in New Issue
Block a user