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
* gcc.target/i386/mpx/hard-reg-1-nov.c (mpx_test): Use "esp"
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
20010123-1.c
blob
9c0989b0ef1ad1a83a71d0dfea2875c96f49c395
1
extern
void
abort
();
2
extern
void
exit
(
int
);
3
4
struct
s
5
{
6
int
value
;
7
char
*
string
;
8
};
9
10
int
main
(
void
)
11
{
12
int
i
;
13
for
(
i
=
0
;
i
<
4
;
i
++)
14
{
15
struct
s
*
t
= & (
struct
s
) {
3
,
"hey there"
};
16
if
(
t
->
value
!=
3
)
17
abort
();
18
t
->
value
=
4
;
19
if
(
t
->
value
!=
4
)
20
abort
();
21
}
22
exit
(
0
);
23
}