aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-i386.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test-i386.c b/tests/test-i386.c
index 73a701fcfa..29f0dfa1fa 100644
--- a/tests/test-i386.c
+++ b/tests/test-i386.c
@@ -1364,7 +1364,7 @@ void test_exceptions(void)
/* bound exception */
tab[0] = 1;
tab[1] = 10;
- asm volatile ("bound %0, %1" : : "r" (11), "m" (tab));
+ asm volatile ("bound %0, %1" : : "r" (11), "m" (tab[0]));
}
printf("segment exceptions:\n");