aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/tcctest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/tcctest.c b/tests/tcctest.c
index 1653927..c48c1bc 100644
--- a/tests/tcctest.c
+++ b/tests/tcctest.c
@@ -2221,7 +2221,7 @@ void old_style_function(void)
void alloca_test()
{
-#if defined __i386__ || defined __x86_64__
+#if defined __i386__ || defined __x86_64__ || defined __arm__
char *p = alloca(16);
strcpy(p,"123456789012345");
printf("alloca: p is %s\n", p);
@@ -2794,7 +2794,7 @@ double get100 () { return 100.0; }
void callsave_test(void)
{
-#if defined __i386__ || defined __x86_64__
+#if defined __i386__ || defined __x86_64__ || defined __arm__
int i, s; double *d; double t;
s = sizeof (double);
printf ("callsavetest: %d\n", s);