kit

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

6_4_5_07_wide_string_concat_mixed.c (295B)


      1 #include <stddef.h>
      2 
      3 int test_main(void) {
      4   const wchar_t* s =
      5       L"A"
      6       "B"
      7       L"\u00a3";
      8   return sizeof(
      9              L"A"
     10              "B"
     11              L"\u00a3") == 16 &&
     12                  s[0] == 65 && s[1] == 66 && s[2] == 163 && s[3] == 0
     13              ? 42
     14              : 0;
     15 }