aboutsummaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/analyzer/function-ptr-1.c
blob: 38c3e597d7e08f11af85c7ea1bbe01e9a48c2e6b (plain)
1
2
3
4
5
6
7
8
#include <stdlib.h>

typedef void *(*fn_ptr_t) (void *);

void *test_1 (fn_ptr_t fn_ptr, void *data)
{
  return fn_ptr (data);
}