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*31cbe0f2SLouis Dionne // UNSUPPORTED: c++03
10f9127593SEric Fiselier 
11f9127593SEric Fiselier // <system_error>
12f9127593SEric Fiselier 
13f9127593SEric Fiselier // Test that <system_error> provides all of the arithmetic, enum, and pointer
14f9127593SEric Fiselier // hash specializations.
15f9127593SEric Fiselier 
16f9127593SEric Fiselier #include <system_error>
17f9127593SEric Fiselier 
18cc89063bSNico Weber #include "poisoned_hash_helper.h"
19f9127593SEric Fiselier 
207fc6a556SMarshall Clow #include "test_macros.h"
217fc6a556SMarshall Clow 
main(int,char **)222df59c50SJF Bastien int main(int, char**) {
23f9127593SEric Fiselier   test_library_hash_specializations_available();
24f9127593SEric Fiselier   {
25f9127593SEric Fiselier     test_hash_enabled_for_type<std::error_code>();
26f9127593SEric Fiselier     test_hash_enabled_for_type<std::error_condition>();
27f9127593SEric Fiselier   }
282df59c50SJF Bastien 
292df59c50SJF Bastien   return 0;
30f9127593SEric Fiselier }
31