aboutsummaryrefslogtreecommitdiff
path: root/tcctest.c
diff options
context:
space:
mode:
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, ...)