s/requires/REQUIRES to fix the test on release build
[llvm-project.git] / libcxx / test / std / utilities / optional / optional.hash / enabled_hash.pass.cpp
blobbe11fec570f79689c1183f93bfc2788e0015fd1e
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 //===----------------------------------------------------------------------===//
9 // UNSUPPORTED: c++03, c++11, c++14
11 // <optional>
13 // Test that <optional> provides all of the arithmetic, enum, and pointer
14 // hash specializations.
16 #include <functional>
17 #include <optional>
19 #include "poisoned_hash_helper.h"
21 #include "test_macros.h"
23 int main(int, char**) {
24 test_library_hash_specializations_available();
29 return 0;