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

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

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);
}