summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorBung <crc32@qq.com>2023-01-08 22:34:51 -0800
committerGitHub <noreply@github.com>2023-01-09 07:34:51 +0100
commitb68b28fd2448b15e989b9e8b07e33eee4f9b8822 (patch)
treec72b4c650e4c0de7ff28c008abe18e4520270865 /tests
parenta55604a3d8605e398f27df364cc215b7114395eb (diff)
downloadNim-b68b28fd2448b15e989b9e8b07e33eee4f9b8822.tar.gz
fix typeRel of typeDesc (#21227)
Diffstat (limited to 'tests')
-rw-r--r--tests/typerel/tint.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/typerel/tint.nim b/tests/typerel/tint.nim
new file mode 100644
index 000000000..de0e78a81
--- /dev/null
+++ b/tests/typerel/tint.nim
@@ -0,0 +1,4 @@
+
+template a(T: type int32) = discard
+template a(T: type int64) = discard
+a(int)