1 //===----------------------------------------------------------------------===// 2 // 3 // The LLVM Compiler Infrastructure 4 // 5 // This file is dual licensed under the MIT and the University of Illinois Open 6 // Source Licenses. See LICENSE.TXT for details. 7 // 8 //===----------------------------------------------------------------------===// 9 10 // UNSUPPORTED: libcpp-has-no-threads 11 // UNSUPPORTED: c++98, c++03 12 13 // <thread> 14 15 // Test that <thread> provides all of the arithmetic, enum, and pointer 16 // hash specializations. 17 18 #include <thread> 19 20 #include "poisoned_hash_helper.hpp" 21 main()22int main() { 23 test_library_hash_specializations_available(); 24 { 25 test_hash_enabled_for_type<std::thread::id>(); 26 } 27 } 28