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
/
tyex.c
diff --git a/tests/tyex.c
b/tests/tyex.c
new file mode 100644
(file)
index 0000000..
fdfb451
--- /dev/null
+++ b/
tests/tyex.c
@@ -0,0
+1,12
@@
+ typedef struct {
+ double x;
+ double y;
+ char *name;
+} Location;
+
+int main () {
+ Location a;
+ Location *b;
+ foo (a.x,a.y,a.name);
+ foo (b->x,b->y,b->name);
+}