opnsense-src/test/CodeGen/typedef-func.c

17 lines
272 B
C
Raw Normal View History

2010-01-01 05:34:51 -05:00
// RUN: %clang_cc1 -emit-llvm < %s
2009-06-02 13:58:47 -04:00
// 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);
}