brintos

brintos / llvm-project-archived public Read only

0
0
Text · 787 B · e3eae8b Raw
31 lines · cpp
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-exception6//7//===----------------------------------------------------------------------===//8 9// UNSUPPORTED: c++0310 11// <system_error>12 13// Test that <system_error> provides all of the arithmetic, enum, and pointer14// hash specializations.15 16#include <system_error>17 18#include "poisoned_hash_helper.h"19 20#include "test_macros.h"21 22int main(int, char**) {23  test_library_hash_specializations_available();24  {25    test_hash_enabled<std::error_code>();26    test_hash_enabled<std::error_condition>();27  }28 29  return 0;30}31