summary refs log tree commit diff stats
path: root/tests/stdlib/tsortcall.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stdlib/tsortcall.nim')
-rw-r--r--tests/stdlib/tsortcall.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/stdlib/tsortcall.nim b/tests/stdlib/tsortcall.nim
new file mode 100644
index 000000000..efe1d0b8b
--- /dev/null
+++ b/tests/stdlib/tsortcall.nim
@@ -0,0 +1,5 @@
+import algorithm
+
+proc foosort(ships: var seq[int]) = sort(ships, system.cmp[int])
+
+