From 3469f37a56c31623eff473c65fd231bb5a77d5d8 Mon Sep 17 00:00:00 2001 From: Bung Date: Wed, 26 Oct 2022 19:45:51 +0800 Subject: add test case for #500 (#20661) --- tests/generics/t500.nim | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 tests/generics/t500.nim (limited to 'tests/generics') 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) -- cgit 1.4.1-2-gfad0