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