sizeof(void*) = 4 on x32, so disable the test
diff --git a/test/misc.cpp b/test/misc.cpp
index 5f7db7e..a6acff1 100644
--- a/test/misc.cpp
+++ b/test/misc.cpp
@@ -98,7 +98,9 @@
}
#ifdef XBYAK64
CYBOZU_TEST_NO_EXCEPTION(mov(rax, ptr[(void*)0x7fffffff]));
- CYBOZU_TEST_EXCEPTION(mov(rax, ptr[(void*)0x17fffffff]), Xbyak::Error);
+ if (sizeof(void*) != 4) { // sizeof(void*) == 4 on x32
+ CYBOZU_TEST_EXCEPTION(mov(rax, ptr[(void*)0x17fffffff]), Xbyak::Error);
+ }
#ifdef XBYAK_OLD_DISP_CHECK
CYBOZU_TEST_NO_EXCEPTION(mov(rax, ptr[(void*)0x80000000]));
CYBOZU_TEST_NO_EXCEPTION(mov(rax, ptr[(void*)0xffffffff]));