t12892.nim 230 B

123456789
  1. discard """
  2. disabled: i386
  3. """
  4. template works[T](): auto = T.high - 1
  5. template breaks[T](): auto = (T.high - 1, true)
  6. doAssert $works[uint]() == "18446744073709551614"
  7. doAssert $breaks[uint]() == "(18446744073709551614, true)"