[X86] Better handling of impossibly large stack frames (#124217)
[llvm-project.git] / libcxx / test / std / containers / associative / multiset / multiset.cons / copy_assign.addressof.compile.pass.cpp
blobc91493ff0d62d85766d7cf73fa68135bf4b101d9
1 //===----------------------------------------------------------------------===//
2 //
3 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 // See https://llvm.org/LICENSE.txt for license information.
5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 //
7 //===----------------------------------------------------------------------===//
9 // <set>
11 // class multiset
13 // multiset& operator=(const multiset& s);
15 // Validate whether the container can be copy-assigned with an ADL-hijacking operator&
17 #include <set>
19 #include "test_macros.h"
20 #include "operator_hijacker.h"
22 void test() {
23 std::multiset<operator_hijacker> so;
24 std::multiset<operator_hijacker> s;
25 s = so;