HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Release coccinelle-0.1.11rc1
[bpt/coccinelle.git]
/
tests
/
addbefore.cocci
diff --git a/tests/addbefore.cocci
b/tests/addbefore.cocci
new file mode 100644
(file)
index 0000000..
47c85b0
--- /dev/null
+++ b/
tests/addbefore.cocci
@@ -0,0
+1,8
@@
+@@
+statement S;
+@@
+
+ if (...) {
++ foo();
+ S
+ }
\ No newline at end of file