This commit is contained in:
Andreas Rumpf 2016-07-19 15:40:21 +02:00
commit d455d58af6
2 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,8 @@
# bug #4345
# only needs to compile
proc f(): tuple[a, b: uint8] = (1'u8, 2'u8)
let a, b = f()
let c = cast[int](b)