Release coccinelle-0.1.8
[bpt/coccinelle.git] / tests / anon.cocci
CommitLineData
34e49164
C
1// the case where the third argument is something else (with a type) (delayed)
2// pointer type
3@ is_delayed @
4type local_type;
5local_type *device;
6expression E;
7identifier fld;
8@@
9
10schedule_delayed_work(&device->fld,E)
11
12@ rule2 @
13is_delayed.local_type *device;
14identifier is_delayed.fld;
15@@
16
17- schedule_work(&device->fld)
708f4980 18+ schedule_delayed_work(&device->fld, 0)