[clang] Handle __declspec() attributes in using
[llvm-project.git] / clang / test / CodeGen / typedef-func.c
blob0ceb968fa753ef6ad9433d8dde8b318e784cc777
1 // RUN: %clang_cc1 -emit-llvm < %s
3 // PR2414
4 struct mad_frame{};
5 enum mad_flow {ont};
7 typedef enum mad_flow filter_func_t(void *, struct mad_frame *);
9 filter_func_t mono_filter;
11 void addfilter2(filter_func_t *func){}
13 void setup_filters(void)
15 addfilter2( mono_filter);