aboutsummaryrefslogtreecommitdiff
path: root/tcctest.c
diff options
context:
space:
mode:
Diffstat (limited to 'tcctest.c')
-rw-r--r--tcctest.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/tcctest.c b/tcctest.c
index f8b3a35..cfbfe72 100644
--- a/tcctest.c
+++ b/tcctest.c
@@ -1158,6 +1158,10 @@ void cast_test()
(int)p, (unsigned int)p,
(long)p, (unsigned long)p,
(long long)p, (unsigned long long)p);
+
+ /* from integers to pointers */
+ printf("%p %p %p %p\n",
+ (void *)a, (void *)b, (void *)c, (void *)d);
}
/* initializers tests */