aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorShinichiro Hamaji <shinichiro.hamaji _at_ gmail.com>2009-07-19 04:26:19 +0900
committergrischka <grischka>2009-08-24 13:30:03 +0200
commit3a1380120d8c952a34f6b5db0b3c42f794770f51 (patch)
tree5351a9e67100d16867e3efe9ae851e79b0f4d3c9 /tests
parent834b782a9c998ef1eda981cde1106c77a7a291ae (diff)
downloadtinycc-3a1380120d8c952a34f6b5db0b3c42f794770f51.tar.gz
tinycc-3a1380120d8c952a34f6b5db0b3c42f794770f51.tar.bz2
x86-64: change the type of size_t and ptrdiff_t.
size_t and ptrdiff_t should be unsigned long and long, respectively.
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index a2d481a..536f5aa 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -592,6 +592,8 @@ void array_test(int a[4])
printf(" %3d", ((int *)tab2)[i]);
}
printf("\n");
+ printf("sizeof(size_t)=%d\n", sizeof(size_t));
+ printf("sizeof(ptrdiff_t)=%d\n", sizeof(ptrdiff_t));
}
void expr_test()