mirror of
https://github.com/llvm-mirror/libcxx.git
synced 2025-10-23 18:38:30 +08:00
Some of the tests from earlier today had 'int' as the return type when it should have been 'bool'. Fix that. It doesn't change the behavior of any of the tests, but it's more accurate.
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322505 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -28,7 +28,7 @@ struct test1
|
||||
};
|
||||
|
||||
#if TEST_STD_VER > 17
|
||||
TEST_CONSTEXPR int test_constexpr() {
|
||||
TEST_CONSTEXPR bool test_constexpr() {
|
||||
int ia[] = {2, 4, 6, 8};
|
||||
int ib[] = {2, 4, 5, 8};
|
||||
return std::all_of(std::begin(ia), std::end(ia), test1())
|
||||
|
Reference in New Issue
Block a user