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
/
qct
/
0018-structptr.c
blob
58b6b5d8fc852791ceac7822d5159ffd73093e02
1
2
3
int
4
main
()
5
{
6
7
struct
S
{
int
x
;
int
y
; }
s
;
8
struct
S
*
p
;
9
10
p
= &
s
;
11
s
.
x
=
1
;
12
p
->
y
=
2
;
13
return
p
->
y
+
p
->
x
-
3
;
14
}
15