enabled_hash.pass.cpp 696 B

1234567891011121314151617181920212223242526
  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. // UNSUPPORTED: c++98, c++03, c++11, c++14
  9. // <variant>
  10. // Test that <variant> provides all of the arithmetic, enum, and pointer
  11. // hash specializations.
  12. #include <variant>
  13. #include "poisoned_hash_helper.h"
  14. #include "test_macros.h"
  15. int main(int, char**) {
  16. test_library_hash_specializations_available();
  17. return 0;
  18. }