This commit is contained in:
Andreas Rumpf 2016-09-07 08:29:37 +02:00
commit 08a6f3fc67
4 changed files with 33 additions and 8 deletions

View file

@ -18,3 +18,14 @@ test proc() =
test proc() = discard
else:
test proc() = discard
# ensure 'case' does not trigger the same bug:
test proc() =
let f = 15
case f
of 10:
test proc() = discard
of 3:
test proc() = discard
else:
test proc() = discard