add tests for recently closed issues (#10722)

This commit is contained in:
Miran 2019-02-23 10:41:35 +01:00 • committed by Andreas Rumpf
commit e7878c0d08
9 changed files with 177 additions and 1 deletions

View file

@ -26,3 +26,9 @@ block:
var x = 123'u16
x -= 125
doAssert(x == 65534'u16)
block t4175:
let i = 0u - 1u
const j = 0u - 1u
doAssert i == j
doAssert j + 1u == 0u