kit

kit
git clone https://git.ryansepassi.com/git/kit.git
Log | Files | Refs | README

6_4_5_05_utf_string_widths.c (218B)


      1 int test_main(void) {
      2   int score = 0;
      3   if (sizeof(u"*") == 4) score += 10;
      4   if (sizeof(U"*") == 8) score += 10;
      5   if (u'\x1234' == 0x1234) score += 10;
      6   if (U'\U0001f600' == 0x1f600) score += 12;
      7   return score;
      8 }