summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.c-torture/compile/20060208-1.c
blob: 01e471a7b0ca7a93bdc20563b87a5276b2f87e52 (plain)
1
2
3
4
5
6
7
8
9
10
/* PR middle-end/26092 */
typedef __SIZE_TYPE__ size_t;
extern void *malloc (size_t);

void *(*const foo) (size_t) = malloc;

void *test (void)
{
  return (*foo) (3);
}