Actually CALL the constexpr tests.

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@322528 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2018-01-16 02:11:13 +00:00
parent 4cd596538b
commit f1caa62ccd
2 changed files with 8 additions and 0 deletions

View File

@@ -86,4 +86,8 @@ int main()
assert(std::mismatch(II(ia), II(ia + sa), II(ib), II(ib+2))
== (std::pair<II, II>(II(ia+2), II(ib+2))));
#endif
#if TEST_STD_VER > 17
static_assert(test_constexpr());
#endif
}

View File

@@ -111,4 +111,8 @@ int main()
assert(std::mismatch(ia, ia + sa, ib, ib + 2, EQ()) ==
(std::pair<int*,int*>(ia+2,ib+2)));
#endif
#if TEST_STD_VER > 17
static_assert(test_constexpr());
#endif
}