2009-12-15 23:14:24 +03:00
|
|
|
// RUN: %clang_cc1 -emit-llvm < %s
|
2008-06-04 21:58:41 +04:00
|
|
|
|
|
|
|
// PR2414
|
2008-06-04 23:41:28 +04:00
|
|
|
struct mad_frame{};
|
2010-05-29 02:23:22 +04:00
|
|
|
enum mad_flow {ont};
|
2008-06-04 23:41:28 +04:00
|
|
|
|
|
|
|
typedef enum mad_flow filter_func_t(void *, struct mad_frame *);
|
|
|
|
|
2008-06-04 21:58:41 +04:00
|
|
|
filter_func_t mono_filter;
|
|
|
|
|
|
|
|
void addfilter2(filter_func_t *func){}
|
|
|
|
|
|
|
|
void setup_filters()
|
|
|
|
{
|
2008-06-04 23:41:28 +04:00
|
|
|
addfilter2( mono_filter);
|
2008-06-04 21:58:41 +04:00
|
|
|
}
|