diff options
Diffstat (limited to 'tests/generics/t500.nim')
-rw-r--r-- | tests/generics/t500.nim | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/generics/t500.nim b/tests/generics/t500.nim new file mode 100644 index 000000000..2486359aa --- /dev/null +++ b/tests/generics/t500.nim @@ -0,0 +1,8 @@ +discard """ +action: compile +""" + +type + TTest = tuple[x: range[0..80], y: range[0..25]] + +let x: TTest = (2, 23) |