newer version of tcc almost working
This commit is contained in:
parent
c42c5d94b8
commit
826d1afd58
442 changed files with 90400 additions and 24506 deletions
12
05/tcc-0.9.27/tests/tests2/97_utf8_string_literal.c
Normal file
12
05/tcc-0.9.27/tests/tests2/97_utf8_string_literal.c
Normal file
|
@ -0,0 +1,12 @@
|
|||
// this file contains BMP chars encoded in UTF-8
|
||||
#include <stdio.h>
|
||||
#include <wchar.h>
|
||||
|
||||
int main()
|
||||
{
|
||||
wchar_t s[] = L"hello$$你好¢¢世界€€world";
|
||||
wchar_t *p;
|
||||
for (p = s; *p; p++) printf("%04X ", (unsigned) *p);
|
||||
printf("\n");
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue