blob: d6f0d1c997b9d6608181d77a095093d6e215f723 [file] [log] [blame]
// P2314R4
// { dg-do compile { target c++23 } }
// { dg-options "-finput-charset=UTF-8 -fexec-charset=UTF-8" }
#define S(x) # x
const char s1[] = S(Köppe); // "Köppe"
const char s2[] = S(K\u00f6ppe); // "Köppe"
static_assert (sizeof (s1) == 7);
static_assert (sizeof (s2) == 7);