repo.or.cz
/
sdcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
struct / union in initializer, RFE #901.
[sdcc.git]
/
sdcc
/
support
/
regression
/
tests
/
gcc-torture-execute-widechar-2.c
blob
e22f88a8e4005fa33b4102b72f4cb125538f498c
1
/*
2
widechar-2.c from the execute part of the gcc torture tests.
3
*/
4
5
#include <testfwk.h>
6
7
#include <stddef.h>
8
9
const wchar_t
ws
[] =
L
"foo"
;
10
11
void
12
testTortureExecute
(
void
)
13
{
14
if
(
ws
[
0
] !=
L
'f'
||
ws
[
1
] !=
L
'o'
||
ws
[
2
] !=
L
'o'
||
ws
[
3
] !=
L
'\0'
)
15
ASSERT
(
0
);
16
17
return
;
18
}