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.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
+++ b/
tests/sizeptr.c
@@ -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);
+}