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, c++17, c++20
10
11// <format>
12
13// enum class range_format {
14// disabled,
15// map,
16// set,
17// sequence,
18// string,
19// debug_string
20// };
21
22#include <format>
23
24// test that the enumeration values exist
25static_assert(requires { std::range_format::disabled; });
26static_assert(requires { std::range_format::map; });
27static_assert(requires { std::range_format::set; });
28static_assert(requires { std::range_format::sequence; });
29static_assert(requires { std::range_format::string; });
30static_assert(requires { std::range_format::debug_string; });
31

source code of libcxx/test/std/utilities/format/format.range/format.range.fmtkind/range_format.compile.pass.cpp