add test case for #500 (#20661)

This commit is contained in:
Bung 2022-10-26 19:45:51 +08:00 • committed by GitHub
commit 3469f37a56
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

8
tests/generics/t500.nim Normal file
View file

@ -0,0 +1,8 @@
discard """
action: compile
"""
type
TTest = tuple[x: range[0..80], y: range[0..25]]
let x: TTest = (2, 23)