#ifndef LIBCXX_TEST_CONCEPTS_LANG_CONCEPTS_ARITHMETIC_H_
#define LIBCXX_TEST_CONCEPTS_LANG_CONCEPTS_ARITHMETIC_H_
#include <concepts>
template <std::integral I>
constexpr bool CheckSubsumption(I) {
return false;
}
template <std::integral I>
requires std::signed_integral<I> && (!std::unsigned_integral<I>)
constexpr bool CheckSubsumption(I) {
return std::is_signed_v<I>;
}
template <std::integral I>
requires std::unsigned_integral<I> && (!std::signed_integral<I>)
constexpr bool CheckSubsumption(I) {
return std::is_unsigned_v<I>;
}
enum ClassicEnum { a, b, c };
enum class ScopedEnum { x, y, z };
struct EmptyStruct {};
#endif