test: i32 -> u64 cast

Does sign extension as internal storage is i64.
This commit is contained in:
Michael Davidsaver committed 2026-06-03 16:24:17 -07:00
1 parent 1f353aab42
commit bf90ac6bec
1 file changed
+2 -1
+2 -1
View File
@@ -562,7 +562,7 @@ void test_cache_sync()
MAIN(testdata)
{
testPlan(193);
testPlan(195);
testSetup();
testTraverse();
testAssign();
@@ -610,6 +610,7 @@ MAIN(testdata)
#endif
testConvertScalar2<int32_t, uint64_t, int64_t>(-2147483648, 0x80000000, -2147483648);
testTodoEnd();
testConvertScalar2<int32_t, int32_t, uint64_t>(-2147483648, -2147483648, 0xffffffff80000000llu);
testConvertScalar2<int32_t, uint64_t, int64_t>(0, 0x100000000llu, -0);
testTodoBegin("UB");
// test non-finite -> integer casts