summary refs log tree commit diff stats
path: root/tests/overflow/tdistinct_range.nim
blob: f53515d45848026fea4fe910439603320a204a04 (plain) (blame)
1
2
3
4
5
6
discard """
  outputsub: "Error: unhandled exception: over- or underflow [OverflowDefect]"
  exitcode: "1"
"""
var x: distinct range[0..5]
dec(x)