diff options
author | Bung <crc32@qq.com> | 2022-10-26 19:45:51 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-26 19:45:51 +0800 |
commit | 3469f37a56c31623eff473c65fd231bb5a77d5d8 (patch) | |
tree | d301ab7b9822a1fb7be8fa06881c153cfe3a7ee5 /tests/generics | |
parent | 4b377b07fcec623b8387ed20f6c1cada20979053 (diff) | |
download | Nim-3469f37a56c31623eff473c65fd231bb5a77d5d8.tar.gz |
add test case for #500 (#20661)
Diffstat (limited to 'tests/generics')
-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) |