HCoop
/
bpt
/
coccinelle.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Coccinelle release 1.0.0c7.
[bpt/coccinelle.git]
/
tests
/
extra.c
diff --git a/tests/extra.c
b/tests/extra.c
new file mode 100644
(file)
index 0000000..
e5ec3f2
--- /dev/null
+++ b/
tests/extra.c
@@ -0,0
+1,12
@@
+#ifdef FIRST
+int main (int a, struct foo *b, struct bar *c) {
+ a = b->x;
+ return c->d;
+}
+#else
+int main (int a, struct foo *xyz) {
+ a = xyz->x;
+ return xyz->d;
+}
+#endif
+