Sign in
llvm
/
llvm-archive
/
58b05407658c2569b188facf1d1f15e1c0e95aa4
/
.
/
clang-tests
/
gcc-4_2-testsuite
/
ignored
/
gcc.dg
/
tree-ssa
/
pr23192.c
blob: 2a606a5c2a25f9f77608e1d26e89eaeefed33af4 [
file
] [
log
] [
blame
]
/* { dg-options "-O2" } */
/* { dg-do run } */
struct
S
{
int
i
;
}
s
;
void
f
(
struct
S
*
q
)
{
int
a
,
*
p
;
p
=
&
a
;
if
(
q
)
p
=
&
q
->
i
;
*
p
=
1
;
}
void
abort
(
void
);
int
main
(
void
)
{
f
(&
s
);
if
(
s
.
i
!=
1
)
abort
();
return
0
;
}