(root)/
gcc-13.2.0/
gcc/
testsuite/
g++.dg/
ext/
char8_t-sizeof-1.C
// Test sizeof for char8_t.
// { dg-do compile }
// { dg-options "-std=c++17 -fchar8_t" }

static_assert(sizeof(u8'x') == 1);
static_assert(sizeof(char8_t) == 1);
static_assert(sizeof(__CHAR8_TYPE__) == 1);