Sign in
gnu
/
gcc
/
e5cfb9cac1d7aba9a8ea73bfe7922cfaff9d61f3
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
execute
/
pr17078-1.c
blob: 9380bf48593ee2991723b6752284545c2bdd5eb0 [
file
] [
log
] [
blame
]
extern
void
abort
(
void
);
void
test
(
int
*
ptr
)
{
int
i
=
1
;
goto
useless
;
if
(
0
)
{
useless
:
i
=
0
;
}
else
i
=
1
;
*
ptr
=
i
;
}
int
main
()
{
int
i
=
1
;
test
(&
i
);
if
(
i
)
abort
();
return
0
;
}