forked from OSchip/llvm-project
parent
6538e28d5d
commit
a38c495f22
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue