Disable trivial pair copy/move tests when unsupported
authorDimitry Andric <dimitry@andric.com>
Wed, 12 Oct 2016 20:26:47 +0000 (20:26 +0000)
committerDimitry Andric <dimitry@andric.com>
Wed, 12 Oct 2016 20:26:47 +0000 (20:26 +0000)
commitca2ab4f657cfe0c4748baafc7fb4035f0a5fd958
treecc283bdc01418c3ab8be484d8bf8c884183bf70f
parente549894b7d57131940bc0964d681be0eb1990104
Disable trivial pair copy/move tests when unsupported

Summary:
On FreeBSD, for ABI compatibility reasons, the pair trivial copy
constructor is disabled, using the aptly-named
`_LIBCPP_DEPRECATED_ABI_DISABLE_PAIR_TRIVIAL_COPY_CTOR` define.

Disable the related tests when this define is on, so they don't fail
unexpectedly.

Reviewers: emaste, rsmith, theraven, EricWF

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D25449

llvm-svn: 284047
libcxx/test/std/utilities/utility/pairs/pairs.pair/trivial_copy_move.pass.cpp