blob: 3881474f7228b9235108ed3ddcef46d7a1ceb791 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* 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);
}
|