Sign in
gnu
/
gcc
/
refs/tags/misc/first-auto-changelog-9
/
.
/
gcc
/
testsuite
/
gcc.c-torture
/
compile
/
20060208-1.c
blob: 3881474f7228b9235108ed3ddcef46d7a1ceb791 [
file
] [
log
] [
blame
]
/* PR middle-end/26092 */
/* { dg-skip-if "can't take address of malloc" { nvptx-*-* } } */
typedef
__SIZE_TYPE__
size_t
;
extern
void
*
malloc
(
size_t
);
void
*(*
const
foo
)
(
size_t
)
=
malloc
;
void
*
test
(
void
)
{
return
(*
foo
)
(
3
);
}