[libcxx] [test] D26815: Fix an assumption about the state of moved-from std::functions.
authorStephan T. Lavavej <stl@exchange.microsoft.com>
Fri, 18 Nov 2016 21:54:38 +0000 (21:54 +0000)
committerStephan T. Lavavej <stl@exchange.microsoft.com>
Fri, 18 Nov 2016 21:54:38 +0000 (21:54 +0000)
commitb04c795e24654fc57a94a9032f54ac72e10d0b5e
tree909a6470b4bb964e7de917259d34a0d18feb555f
parente57a2a31447e009cfe8c503429078e740a8a8448
[libcxx] [test] D26815: Fix an assumption about the state of moved-from std::functions.

The Standard doesn't provide any guarantees beyond "valid but unspecified" for
moved-from std::functions. libcxx moves from small targets and leaves them
there, while MSVC's STL empties out the source. Mark these assertions as
libcxx-specific.

llvm-svn: 287382
libcxx/test/std/utilities/function.objects/func.wrap/func.wrap.func/func.wrap.func.con/copy_move.pass.cpp