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: c++03, c++11, c++14
10// UNSUPPORTED: availability-filesystem-missing
11
12// <filesystem>
13
14// Test that <filesystem> provides all of the arithmetic, enum, and pointer
15// hash specializations.
16
17#include <filesystem>
18#include "poisoned_hash_helper.h"
19namespace fs = std::filesystem;
20
21int main(int, char**) {
22 test_library_hash_specializations_available();
23 test_hash_enabled<fs::path>();
24
25 return 0;
26}
27

source code of libcxx/test/std/input.output/filesystems/class.path/path.member/path.hash_enabled.pass.cpp