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
@@ -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);
+}