Release coccinelle-0.2.4rc6
[bpt/coccinelle.git] / tests / sizeptr.c
diff --git a/tests/sizeptr.c b/tests/sizeptr.c
new file mode 100644 (file)
index 0000000..c71b492
--- /dev/null
@@ -0,0 +1,11 @@
+int main () {
+  int *x;
+  int *y;
+  size_t a;
+  ssize_t b;
+  ptrdiff_t c;
+
+  foo(sizeof *x,a);
+  foo(*x,b);
+  foo(x-y,c);
+}