(root)/
gcc-13.2.0/
gcc/
testsuite/
gcc.dg/
c11-utf8str-type.c
       1  /* Test C11 UTF-8 string literal type.  */
       2  /* { dg-do compile } */
       3  /* { dg-options "-std=c11" } */
       4  
       5  _Static_assert (_Generic (u8"text", char*: 1, default: 2) == 1, "UTF-8 string literals have an unexpected type");
       6  _Static_assert (_Generic (u8"x"[0], char:  1, default: 2) == 1, "UTF-8 string literal elements have an unexpected type");