diff options
author | Araq <rumpf_a@web.de> | 2014-11-27 09:28:48 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-11-27 09:28:48 +0100 |
commit | b4e38cb4987b1eeca441bfb405b64951ea27810f (patch) | |
tree | 9577d116a1644551340af310a074a460fccf9e66 /tests/overload/tsystemcmp.nim | |
parent | 7edf6fc1d2f8feb8d126065f5429afa71e4aa06e (diff) | |
download | Nim-b4e38cb4987b1eeca441bfb405b64951ea27810f.tar.gz |
fixes #1657
Diffstat (limited to 'tests/overload/tsystemcmp.nim')
-rw-r--r-- | tests/overload/tsystemcmp.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/overload/tsystemcmp.nim b/tests/overload/tsystemcmp.nim new file mode 100644 index 000000000..54dff0c46 --- /dev/null +++ b/tests/overload/tsystemcmp.nim @@ -0,0 +1,9 @@ +discard """ + cmd: r"nim c --hints:on $options --threads:on $file" +""" + +import algorithm + +# bug #1657 +var modules = @["hi", "ho", "ha", "huu"] +sort(modules, system.cmp) |