[RISCV] Fix mgather -> riscv.masked.strided.load combine not extending indices (...
[llvm-project.git] / libcxx / test / std / thread / thread.mutex / thread.mutex.requirements / thread.sharedtimedmutex.requirements / thread.sharedtimedmutex.class / assign.compile.fail.cpp
blobc2cd8931b16cd8ac75714d2b08b3cb7740c6e98b
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, c++11
11 // <shared_mutex>
13 // class shared_timed_mutex;
15 // shared_timed_mutex& operator=(const shared_timed_mutex&) = delete;
17 #include <shared_mutex>
19 int main(int, char**)
21 std::shared_timed_mutex m0;
22 std::shared_timed_mutex m1;
23 m1 = m0;
25 return 0;