brintos

brintos / llvm-project-archived public Read only

0
0
Text · 632 B · eadc59e Raw
28 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// UNSUPPORTED: no-threads10// UNSUPPORTED: c++03, c++1111 12// <shared_mutex>13 14// class shared_timed_mutex;15 16// shared_timed_mutex();17 18#include <shared_mutex>19 20#include "test_macros.h"21 22int main(int, char**) {23  std::shared_timed_mutex m;24  (void)m;25 26  return 0;27}28