File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
libcxx/test/std/utilities/expected
expected.expected/observers Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ constexpr bool test() {
70
70
const std::expected<TailClobberer<0 >, bool > e = {};
71
71
// clang-cl does not support [[no_unique_address]] yet.
72
72
#if !(defined(TEST_COMPILER_CLANG) && defined(_MSC_VER))
73
- static_assert (sizeof (TailClobberer<0 >) == sizeof (e));
73
+ LIBCPP_STATIC_ASSERT (sizeof (TailClobberer<0 >) == sizeof (e));
74
74
#endif
75
75
assert (e.has_value ());
76
76
}
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ constexpr bool test() {
50
50
const std::expected<void , TailClobberer<1 >> e (std::unexpect);
51
51
// clang-cl does not support [[no_unique_address]] yet.
52
52
#if !(defined(TEST_COMPILER_CLANG) && defined(_MSC_VER))
53
- static_assert (sizeof (TailClobberer<1 >) == sizeof (e));
53
+ LIBCPP_STATIC_ASSERT (sizeof (TailClobberer<1 >) == sizeof (e));
54
54
#endif
55
55
assert (!e.has_value ());
56
56
}
You can’t perform that action at this time.
0 commit comments