15a83710eSEric Fiselier //===----------------------------------------------------------------------===// 25a83710eSEric Fiselier // 357b08b09SChandler Carruth // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. 457b08b09SChandler Carruth // See https://llvm.org/LICENSE.txt for license information. 557b08b09SChandler Carruth // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 65a83710eSEric Fiselier // 75a83710eSEric Fiselier //===----------------------------------------------------------------------===// 85a83710eSEric Fiselier // 9*a7f9895cSLouis Dionne // UNSUPPORTED: no-threads 1031cbe0f2SLouis Dionne // UNSUPPORTED: c++03, c++11 115a83710eSEric Fiselier 12f17eb4ecSLouis Dionne // shared_timed_mutex was introduced in macosx10.12 13c360553cSLouis Dionne // UNSUPPORTED: use_system_cxx_lib && target={{.+}}-apple-macosx10.{{9|10|11}} 14f17eb4ecSLouis Dionne 155a83710eSEric Fiselier // <shared_mutex> 165a83710eSEric Fiselier 175a83710eSEric Fiselier // class shared_timed_mutex; 185a83710eSEric Fiselier 195a83710eSEric Fiselier // shared_timed_mutex(); 205a83710eSEric Fiselier 215a83710eSEric Fiselier #include <shared_mutex> 225a83710eSEric Fiselier 237fc6a556SMarshall Clow #include "test_macros.h" 247fc6a556SMarshall Clow main(int,char **)252df59c50SJF Bastienint main(int, char**) 265a83710eSEric Fiselier { 275a83710eSEric Fiselier std::shared_timed_mutex m; 282df59c50SJF Bastien 292df59c50SJF Bastien return 0; 305a83710eSEric Fiselier } 31