diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2019-07-07 15:25:25 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-07 15:25:25 +0200 |
commit | bab1f67971556f8cea4e1b082403165014e51135 (patch) | |
tree | 8b64b4a4c3884988c7e8da2554d0bf5dffd27299 /tests/misc | |
parent | 6a7f8e8ab5dddd3796c52b5f500cbc4c4b839b6a (diff) | |
download | Nim-bab1f67971556f8cea4e1b082403165014e51135.tar.gz |
fixes #11660 (#11677)
Diffstat (limited to 'tests/misc')
-rw-r--r-- | tests/misc/tparamsindefault.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/misc/tparamsindefault.nim b/tests/misc/tparamsindefault.nim index c678dcc60..3fe917f2b 100644 --- a/tests/misc/tparamsindefault.nim +++ b/tests/misc/tparamsindefault.nim @@ -18,6 +18,7 @@ f3 10 15 25 true true false true world +typedescDefault ''' """ @@ -112,3 +113,8 @@ block: echo pySubstr("Hello world", -5) + +# bug #11660 + +func typedescDefault(T: typedesc; arg: T = 0) = debugEcho "typedescDefault" +typedescDefault(int) |