repo.or.cz
/
netbsd-mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
No empty .Rs/.Re
[netbsd-mini2440.git]
/
gnu
/
dist
/
gcc4
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
981130-1.c
blob
72630b07ec8c09267a611da2459dd065a6ae389f
1
struct
s
{
int
a
;
int
b
;};
2
struct
s s1
;
3
struct
s s2
= {
1
,
2
, };
4
5
void
6
check
(
a
,
b
)
7
int
a
;
8
int
b
;
9
{
10
if
(
a
==
b
)
11
exit
(
0
);
12
else
13
abort
();
14
}
15
16
int
17
main
()
18
{
19
int
*
p
;
20
int
x
;
21
22
s1
.
a
=
9
;
23
p
= &
s1
.
a
;
24
s1
=
s2
;
25
x
= *
p
;
26
27
check
(
x
,
1
);
28
}
29
30