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.2.4rc5
[bpt/coccinelle.git]
/
tests
/
match_init.res
diff --git a/tests/match_init.res
b/tests/match_init.res
new file mode 100644
(file)
index 0000000..
9090e4f
--- /dev/null
+++ b/
tests/match_init.res
@@ -0,0
+1,15
@@
+int probably_works () {
+ int a = 12;
+ f(x);
+}
+
+int does_it_work () {
+ int y, a = 12;
+ f(x);
+}
+
+int should_work () {
+ a = 12;
+ f(x);
+}
+