parent
c8aeea9d62
commit
1807de38e5
3 changed files with 11 additions and 0 deletions
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
|
||||||
Loading…
Add table
Add a link
Reference in a new issue