summaryrefslogtreecommitdiffstats
path: root/test/CodeGen/typedef-func.c
blob: bc08b359d70f670e8c56d60063ab31e900e25cc1 (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 {};

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