summaryrefslogtreecommitdiff
path: root/clang/test/CodeGen/typedef-func.c
blob: 1467e8b1f74a9341104681a6f01925a11bc91404 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: %clang_cc1 -emit-llvm < %s

// PR2414
struct mad_frame{};
enum mad_flow {ont};

typedef enum mad_flow filter_func_t(void *, struct mad_frame *);

filter_func_t mono_filter;

void addfilter2(filter_func_t *func){}

void setup_filters()
{
  addfilter2( mono_filter);
}