Sign in
gnu
/
gcc
/
ab810952eb7c061e37054ddd1dfe0aa033365131
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20080721-1.c
blob: 6c928f55ca103ec7b52648b759d9bdddb227fdb7 [
file
] [
log
] [
blame
]
/* { dg-skip-if "can't read function data" { nvptx-*-* } } */
void
foo
(
void
);
void
bar
(
void
);
int
test
(
int
b
)
{
void
*
p
,
**
q
;
if
(
b
)
p
=
(
void
*)
foo
;
else
p
=
(
void
*)
bar
;
q
=
(
void
**)
p
;
if
(*
q
==
(
void
*)
0
)
return
1
;
return
0
;
}