mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-20 14:25:23 +00:00
fixes #1657
This commit is contained in:
9
tests/overload/tsystemcmp.nim
Normal file
9
tests/overload/tsystemcmp.nim
Normal file
@@ -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)
|
||||
Reference in New Issue
Block a user