diff options
Diffstat (limited to 'compiler-rt/test/builtins/Unit/subvti3_test.c')
-rw-r--r-- | compiler-rt/test/builtins/Unit/subvti3_test.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler-rt/test/builtins/Unit/subvti3_test.c b/compiler-rt/test/builtins/Unit/subvti3_test.c index 6176bdfda97..b2c225c3a7f 100644 --- a/compiler-rt/test/builtins/Unit/subvti3_test.c +++ b/compiler-rt/test/builtins/Unit/subvti3_test.c @@ -11,12 +11,12 @@ // //===----------------------------------------------------------------------===// -#if __x86_64 - #include "int_lib.h" #include <stdio.h> #include <stdlib.h> +#ifdef CRT_HAS_128BIT + // Returns: a - b // Effects: aborts if a - b overflows @@ -49,7 +49,7 @@ int test__subvti3(ti_int a, ti_int b) int main() { -#if __x86_64 +#ifdef CRT_HAS_128BIT // test__subvti3(make_ti(0x8000000000000000LL, 0), 1); // should abort // test__subvti3(0, make_ti(0x8000000000000000LL, 0)); // should abort // test__subvti3(1, make_ti(0x8000000000000000LL, 0)); // should abort |