mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-12 06:18:51 +00:00
3
tests/enum/m16462_1.nim
Normal file
3
tests/enum/m16462_1.nim
Normal file
@@ -0,0 +1,3 @@
|
||||
type
|
||||
Scancode* {.pure.} = enum
|
||||
SCANCODE_LEFT = 80
|
||||
3
tests/enum/m16462_2.nim
Normal file
3
tests/enum/m16462_2.nim
Normal file
@@ -0,0 +1,3 @@
|
||||
type
|
||||
Scancode* {.pure.} = enum
|
||||
SCANCODE_LEFT = 80
|
||||
5
tests/enum/t16462.nim
Normal file
5
tests/enum/t16462.nim
Normal file
@@ -0,0 +1,5 @@
|
||||
import m16462_1 except Scancode
|
||||
import m16462_2
|
||||
|
||||
# bug #16462
|
||||
let a = SCANCODE_LEFT
|
||||
Reference in New Issue
Block a user