aboutsummaryrefslogtreecommitdiff
path: root/tcctest.c
diff options
context:
space:
mode:
authorbellard <bellard>2004-10-23 22:52:58 +0000
committerbellard <bellard>2004-10-23 22:52:58 +0000
commitbb07bf31aae1bcb4c3590f61210c46c0d3a37433 (patch)
treeb942e1baa8cce8e50147d3a39c069dc3091f6b5c /tcctest.c
parenteb79471184b9771f0638d022a093c1885652e3fb (diff)
downloadtinycc-bb07bf31aae1bcb4c3590f61210c46c0d3a37433.tar.gz
tinycc-bb07bf31aae1bcb4c3590f61210c46c0d3a37433.tar.bz2
update
Diffstat (limited to 'tcctest.c')
-rw-r--r--tcctest.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tcctest.c b/tcctest.c
index 7113428..f1ebfac 100644
--- a/tcctest.c
+++ b/tcctest.c
@@ -1599,6 +1599,15 @@ void longlong_test(void)
printf("%lld\n", value(&a));
}
lloptest(0x80000000, 0);
+
+ /* another long long spill test */
+ {
+ long long *p, v;
+ v = 1;
+ p = &v;
+ p[0]++;
+ printf("%lld\n", *p);
+ }
}
void vprintf1(const char *fmt, ...)