1f9127593SEric Fiselier //===----------------------------------------------------------------------===// 2f9127593SEric 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 6f9127593SEric Fiselier // 7f9127593SEric Fiselier //===----------------------------------------------------------------------===// 8f9127593SEric Fiselier 9*a7f9895cSLouis Dionne // UNSUPPORTED: no-threads 1031cbe0f2SLouis Dionne // UNSUPPORTED: c++03 11f9127593SEric Fiselier 12f9127593SEric Fiselier // <thread> 13f9127593SEric Fiselier 14f9127593SEric Fiselier // Test that <thread> provides all of the arithmetic, enum, and pointer 15f9127593SEric Fiselier // hash specializations. 16f9127593SEric Fiselier 17f9127593SEric Fiselier #include <thread> 18f9127593SEric Fiselier 19cc89063bSNico Weber #include "poisoned_hash_helper.h" 20f9127593SEric Fiselier 217fc6a556SMarshall Clow #include "test_macros.h" 227fc6a556SMarshall Clow main(int,char **)232df59c50SJF Bastienint main(int, char**) { 24f9127593SEric Fiselier test_library_hash_specializations_available(); 25f9127593SEric Fiselier { 26f9127593SEric Fiselier test_hash_enabled_for_type<std::thread::id>(); 27f9127593SEric Fiselier } 282df59c50SJF Bastien 292df59c50SJF Bastien return 0; 30f9127593SEric Fiselier } 31