Searched defs:CopyThrows (Results 1 - 2 of 2) sorted by relevance

/external/libcxx/test/support/
H A Dvariant_test_helpers.hpp27 struct CopyThrows { struct
28 CopyThrows() = default;
29 CopyThrows(CopyThrows const&) { throw 42; } function in struct:CopyThrows
30 CopyThrows& operator=(CopyThrows const&) { throw 42; }
/external/libcxx/test/std/utilities/function.objects/func.invoke/
H A Dinvoke.pass.cpp307 struct CopyThrows { struct
308 CopyThrows() {} function in struct:CopyThrows
309 CopyThrows(CopyThrows const&) {} function in struct:CopyThrows
310 CopyThrows(CopyThrows&&) noexcept {}
315 void operator()(CopyThrows) noexcept {}
329 CopyThrows arg; ((void)arg); // suppress unused warning

Completed in 96 milliseconds