diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2015-02-04 10:39:49 +0100 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2015-02-04 10:39:49 +0100 |
commit | 7f14d0e7827ffd58ceb17e9b66025d8a9e54bc00 (patch) | |
tree | 1157d0e95be27ddb0015a2799490bffc1c83c331 /tests | |
parent | 47c157e05e293c163dee3ddf3447b5df1e7ba7c8 (diff) | |
parent | 1a8541d908169470c4ee15ffdecd58f98c335e79 (diff) | |
download | Nim-7f14d0e7827ffd58ceb17e9b66025d8a9e54bc00.tar.gz |
Merge pull request #2031 from reactormonk/high-cstring
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) |