Sign in
llvm
/
llvm-archive
/
48649d2c83b557841c9e5c978d9ab5af13cb52e5
/
.
/
llvm-gcc-4.0
/
gcc
/
testsuite
/
gcc.dg
/
pr18241-4.c
blob: ad619377b1610bfca998c9c5c6ab709d3c6055a2 [
file
] [
log
] [
blame
]
/* { dg-do run } */
/* { dg-options "-O1" } */
void
abort
(
void
);
int
f
(
int
i1243
)
{
int
i
[
2
],
*
i1
=
i
;
i
[
0
]
=
1
;
volatile
int
*
i2
=
i1
;
i2
[
1
]
=
1
;
i1243
=
0
;
return
i2
[
1
]+
i2
[
0
];
}
int
main
(
void
)
{
if
(
f
(
100
)
!=
2
)
abort
();
return
0
;
}