Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git] / libcxx / test / std / thread / thread.mutex / thread.mutex.requirements / thread.sharedtimedmutex.requirements / thread.sharedtimedmutex.class / default.pass.cpp
blobe6633665c7657766a698a49b2fe006644a3d67f4
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 //===----------------------------------------------------------------------===//
8 //
9 // UNSUPPORTED: no-threads
10 // UNSUPPORTED: c++03, c++11
12 // UNSUPPORTED: availability-shared_mutex-missing
14 // <shared_mutex>
16 // class shared_timed_mutex;
18 // shared_timed_mutex();
20 #include <shared_mutex>
22 #include "test_macros.h"
24 int main(int, char**)
26 std::shared_timed_mutex m;
28 return 0;