aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 6ec23a1..9a4d0ef 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2010,6 +2010,11 @@ void longlong_test(void)
printf("%d %d %d %d\n", a > b, a < b, a >= b, a <= b);
printf(LONG_LONG_FORMAT "\n", 0x123456789LLU);
+
+ /* long long pointer deref in argument passing test */
+ a = 0x123;
+ long long *p = &a;
+ llshift(*p, 5);
}
void manyarg_test(void)