diff options
author | Simon Hafner <hafnersimon@gmail.com> | 2015-01-29 04:40:27 -0600 |
---|---|---|
committer | Simon Hafner <hafnersimon@gmail.com> | 2015-01-29 04:40:27 -0600 |
commit | 5ecc461a944b54a516e6f81df4bd6db95a86e682 (patch) | |
tree | 706670ce28a23487be512b91c7a40ff044646026 /tests | |
parent | d4786976dd80ad7aef531b259cf04ab65e80dabc (diff) | |
download | Nim-5ecc461a944b54a516e6f81df4bd6db95a86e682.tar.gz |
Fixes #2030
Diffstat (limited to 'tests')
-rw-r--r-- | tests/exprs/thighCString.nim | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/exprs/thighCString.nim b/tests/exprs/thighCString.nim new file mode 100644 index 000000000..543966df4 --- /dev/null +++ b/tests/exprs/thighCString.nim @@ -0,0 +1,6 @@ +discard """ + output: "5" +""" +let test = cstring("foobar") + +echo high(test) |