repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
tcc -MD: drop system includes and duplicates
[tinycc.git]
/
tests
/
tests2
/
97_utf8_string_literal.c
blob
96fbab0d1637b5abf566b8f833969e1aaee5086a
1
// this file contains BMP chars encoded in UTF-8
2
#include <stdio.h>
3
#include <wchar.h>
4
5
int
main
()
6
{
7
wchar_t
s
[] =
L
"hello$$你好¢¢世界€€world"
;
8
wchar_t
*
p
;
9
for
(
p
=
s
; *
p
;
p
++)
printf
(
"%04X "
, (
unsigned
) *
p
);
10
printf
(
"
\n
"
);
11
return
0
;
12
}