Coccinelle release 1.0.0-rc15
[bpt/coccinelle.git] / tests / fortype.cocci
diff --git a/tests/fortype.cocci b/tests/fortype.cocci
new file mode 100644 (file)
index 0000000..d5e2f6a
--- /dev/null
@@ -0,0 +1,15 @@
+@@
+@@
+
+- x
++ y
+
+@@
+identifier x;
+statement S;
+@@
+
+for (
+- int x
++ char *p
+  ; ...; ...) S
\ No newline at end of file