Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
g++.dg
/
cpp23
/
size_t-literals.C
blob: 3488032de3f271b786dd86a2954a6481af3727a3 [
file
] [
log
] [
blame
]
// { dg-do compile { target c++23 } }
#include
<cstddef>
#include
<type_traits>
static_assert
(
std
::
is_same_v
<
decltype
(
123zu
),
std
::
size_t
>);
static_assert
(
std
::
is_same_v
<
decltype
(
456z
),
std
::
make_signed_t
<
std
::
size_t
>>);