aboutsummaryrefslogtreecommitdiff
path: root/test/CodeGen/typedef-func.c
blob: c14a42c1e8ad0f5df7d4f55125ad6165b7245694 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// RUN: clang -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);
}