Skip to content

Commit

Permalink
add testcase for nim-lang#13290
Browse files Browse the repository at this point in the history
  • Loading branch information
timotheecour committed Jan 29, 2020
1 parent d1227fa commit 480118f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/system/tsystem_misc.nim
Original file line number Diff line number Diff line change
Expand Up @@ -184,3 +184,12 @@ proc testMinMax(a,b: float32) =

testMinMax(0.0, NaN)
testMinMax(NaN, 0.0)


block:
type Foo = enum
k1, k2
var
a = {k1}
b = {k1,k2}
doAssert a < b

0 comments on commit 480118f

Please sign in to comment.