parent
31ba27590c
commit
76ffa4fa25
6 changed files with 27 additions and 1 deletions
8
tests/tuples/t12892.nim
Normal file
8
tests/tuples/t12892.nim
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
discard """
|
||||
disabled: i386
|
||||
"""
|
||||
|
||||
template works[T](): auto = T.high - 1
|
||||
template breaks[T](): auto = (T.high - 1, true)
|
||||
doAssert $works[uint]() == "18446744073709551614"
|
||||
doAssert $breaks[uint]() == "(18446744073709551614, true)"
|
||||
Loading…
Add table
Add a link
Reference in a new issue