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
/
punctuators.c
blob
c76e2074c975e839f19f8a0f0b0ee2250663dc7f
1
/*
2
punctuators.c
3
4
punctuators test
5
*/
6
7
#include <testfwk.h>
8
9
/*
10
* test punctuators, as defined in ISO/IEC 9899:1999, chapter 6.4.6#3
11
*/
12
void
13
testPunctuators
(
void
)
14
<%
15
%:
define N
10
16
%:
define VAL
123
17
%:
define
C
(
NAME
)
NAME
%:%:
___
18
int
C
(
a
)<:
N
:>;
19
20
C
(
a
)<:
0
:> =
VAL
;
21
ASSERT
(
a___
<:
0
:> ==
VAL
);
22
%>