Add more info about the corruption

This commit is contained in:
mratsim 2018-03-20 16:14:31 +01:00
parent 066de3bc28
commit 2c9d63ce29
1 changed files with 3 additions and 0 deletions

View File

@ -26,4 +26,7 @@ when isMainModule:
echo "a * a: " & $z # How did the result value change?
echo "a * a type: " & $z.type.name
# Compile without release: memory corruption
# In release: no corruption
# Comment out the "naiveMul" in mul_impl: no corruption
echo "Is memory corrupted: " & $(z != toMpUint(100'u32))