Release coccinelle-0.1.1
[bpt/coccinelle.git] / tests / detect_alloc.cocci
1 @@
2 type T;
3 identifier f;
4 T *x;
5 @@
6
7 * T *f(...)
8 {
9 ...
10 x = kmalloc(...);
11 ...
12 return x;
13 }