[CodeGen][NewPM] Port GCNPreRALongBranchReg to NPM. (#125844)
[llvm-project.git] / libcxx / test / std / containers / unord / unord.multiset / unord.multiset.cnstr / move.addressof.compile.pass.cpp
blob9df029e61341ac003f98e0703b28fc1b8c9f645d
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 // UNSUPPORTED: c++03
11 // <unordered_set>
13 // template <class Value, class Hash = hash<Value>, class Pred = equal_to<Value>,
14 // class Alloc = allocator<Value>>
15 // class unordered_multiset
17 // unordered_multiset(unordered_multiset&& u);
19 // Validate whether the operation properly guards against ADL-hijacking operator&
21 #include <unordered_set>
23 #include "test_macros.h"
24 #include "operator_hijacker.h"
26 void test() {
27 std::unordered_multiset<operator_hijacker> so;
28 std::unordered_multiset<operator_hijacker> s(std::move(so));