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: libcpp-has-no-threads 10 // UNSUPPORTED: c++03 11 12 // <thread> 13 14 // Test that <thread> provides all of the arithmetic, enum, and pointer 15 // hash specializations. 16 17 #include <thread> 18 19 #include "poisoned_hash_helper.h" 20 21 #include "test_macros.h" 22 main(int,char **)23int main(int, char**) { 24 test_library_hash_specializations_available(); 25 { 26 test_hash_enabled_for_type<std::thread::id>(); 27 } 28 29 return 0; 30 } 31