Release coccinelle-0.2.2-rc1
[bpt/coccinelle.git] / tests / comments.cocci
1 @@
2 @@
3
4 int main() {
5 ...
6 + // Calls foo()
7 + foo();
8 return 0;
9 }
10
11 +/**
12 + Some info about @foo()
13 + @return void
14 +*/
15 +void foo() {
16 + /* Do nothing */
17 +}
18