Skip to content

Commit 962492d

Browse files
committed
[libc++][test] Fix FreeBSD build
1 parent f275d2b commit 962492d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/is_implicit_lifetime.pass.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,9 @@ constexpr bool test() {
226226

227227
#ifdef _LIBCPP_VERSION
228228
// These types should be implicit-lifetime, but they are not guaranteed to be so.
229+
# ifndef _LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR
229230
test_is_implicit_lifetime<std::pair<int, float>>();
231+
# endif
230232
test_is_implicit_lifetime<std::tuple<int, float>>();
231233
#endif
232234

0 commit comments

Comments
 (0)