repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[clang] Handle __declspec() attributes in using
[llvm-project.git]
/
clang
/
test
/
CodeGen
/
typedef-func.c
blob
0ceb968fa753ef6ad9433d8dde8b318e784cc777
1
// RUN: %clang_cc1 -emit-llvm < %s
2
3
// PR2414
4
struct
mad_frame
{};
5
enum
mad_flow
{
ont
};
6
7
typedef
enum
mad_flow
filter_func_t
(
void
*,
struct
mad_frame
*);
8
9
filter_func_t mono_filter
;
10
11
void
addfilter2
(
filter_func_t
*
func
){}
12
13
void
setup_filters
(
void
)
14
{
15
addfilter2
(
mono_filter
);
16
}