diff options
author | Zahary Karadjov <zahary@gmail.com> | 2017-06-10 23:23:49 +0300 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2017-06-20 11:29:42 +0200 |
commit | b101a59734982f55bf9112062be179bd062ae866 (patch) | |
tree | 60ec0e34b5edd0f1e3b59f37ffe5e6244b715565 /tests | |
parent | 6f935598f4d70271cdbf664a7b54435a403bb934 (diff) | |
download | Nim-b101a59734982f55bf9112062be179bd062ae866.tar.gz |
close #3152; closed via f663ca7
Diffstat (limited to 'tests')
-rw-r--r-- | tests/overload/tstaticoverload.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/overload/tstaticoverload.nim b/tests/overload/tstaticoverload.nim index b919fc0b1..965ff054f 100644 --- a/tests/overload/tstaticoverload.nim +++ b/tests/overload/tstaticoverload.nim @@ -5,6 +5,7 @@ dynamic: var static: const static: literal static: constant folding +static: static string ''' """ @@ -18,9 +19,12 @@ let l = "let" let v = "var" const c = "const" +type staticString = static[string] + foo(l) foo(v) foo(c) foo("literal") foo("constant" & " " & "folding") +foo(staticString("static string")) |