6_4_5_10_utf8_ucn_encoding.c (302B)
1 int test_main(void) { 2 const char* s = u8"\U0001f600"; 3 return sizeof(u8"\U0001f600") == 5 && (unsigned char)s[0] == 0xf0 && 4 (unsigned char)s[1] == 0x9f && (unsigned char)s[2] == 0x98 && 5 (unsigned char)s[3] == 0x80 && s[4] == 0 6 ? 42 7 : 0; 8 }