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
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
gcc
/
testsuite
/
gcc.c-torture
/
unsorted
/
scal.c
blob
94e22aa80f5b4969a6f2c935c13cebe31840d975
1
int
g1
,
g2
;
2
3
void
4
write_at
(
addr
,
off
,
val
)
5
int
*
addr
;
6
int
off
;
7
int
val
;
8
{
9
g2
=
1
;
10
addr
[
off
] =
val
;
11
g2
++;
12
}
13
14
main
()
15
{
16
g2
=
12
;
17
write_at
(&
g1
, &
g2
- &
g1
,
12345
);
18
printf
(
"%d
\n
"
,
g2
);
19
}