parent
912d8f80ad
commit
33e258c72f
1 changed files with 9 additions and 0 deletions
9
tests/stdlib/t7686.nim
Normal file
9
tests/stdlib/t7686.nim
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
import strutils
|
||||||
|
|
||||||
|
type
|
||||||
|
MyEnum = enum
|
||||||
|
A,
|
||||||
|
a
|
||||||
|
|
||||||
|
doAssert parseEnum[MyEnum]("A") == A
|
||||||
|
doAssert parseEnum[MyEnum]("a") == a
|
||||||
Loading…
Add table
Add a link
Reference in a new issue