[Clang][Sema] Reject declaring an alias template with the same name as its template...
[llvm-project.git] / libcxx / test / std / thread / thread.mutex / thread.mutex.requirements / thread.sharedtimedmutex.requirements / thread.sharedtimedmutex.class / ctor.default.pass.cpp
blobeadc59e13bebfd5dcc237378e71082f086a19f7b
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: no-threads
10 // UNSUPPORTED: c++03, c++11
12 // <shared_mutex>
14 // class shared_timed_mutex;
16 // shared_timed_mutex();
18 #include <shared_mutex>
20 #include "test_macros.h"
22 int main(int, char**) {
23 std::shared_timed_mutex m;
24 (void)m;
26 return 0;