Release coccinelle-0.1
[bpt/coccinelle.git] / tests / initializer_iso.c
1
2 struct SHT template = {
3 .field1 = 1,
4 .proc_info = my_proc_info,
5 .field2 = 2,
6 };
7
8
9 int my_proc_info(int i)
10 {
11 }
12
13
14 int foo(struct SHT * tpnt)
15 {
16 tpnt->proc_info = my_proc_info2;
17 }
18
19 int my_proc_info2(int i)
20 {
21 }
22
23
24 int not_proc_info(int i)
25 {
26 }