repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Update concepts branch to revision 131834
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20000511-1.c
blob
11c131522e6e22f1842bdece26546ec7ecc81c0d
1
typedef
struct
{
2
char
y
;
3
char
x
[
32
];
4
}
X
;
5
6
int
z
(
void
)
7
{
8
X xxx
;
9
xxx
.
x
[
0
] =
10
xxx
.
x
[
31
] =
'0'
;
11
xxx
.
y
=
0xf
;
12
return
f
(
xxx
,
xxx
);
13
}
14
15
int
main
(
void
)
16
{
17
int
val
;
18
19
val
=
z
();
20
if
(
val
!=
0x60
)
21
abort
();
22
exit
(
0
);
23
}
24
25
int
f
(
X x
,
X y
)
26
{
27
if
(
x
.
y
!=
y
.
y
)
28
return
'F'
;
29
30
return
x
.
x
[
0
] +
y
.
x
[
0
];
31
}