parent
8dcf367e52
commit
5ebd1248df
12 changed files with 27 additions and 41 deletions
10
tests/enum/tcrossmodule.nim
Normal file
10
tests/enum/tcrossmodule.nim
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
import mcrossmodule
|
||||
|
||||
type
|
||||
MyEnum = enum
|
||||
Success
|
||||
|
||||
template t =
|
||||
doAssert some(Success)
|
||||
|
||||
t()
|
||||
Loading…
Add table
Add a link
Reference in a new issue