summary refs log tree commit diff stats
path: root/tests/modules/treorder.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/modules/treorder.nim')
-rw-r--r--tests/modules/treorder.nim9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/modules/treorder.nim b/tests/modules/treorder.nim
index 8715e4548..ff0b2e071 100644
--- a/tests/modules/treorder.nim
+++ b/tests/modules/treorder.nim
@@ -1,13 +1,14 @@
 discard """
-  cmd: "nim -d:testdef $target $file"
+  matrix: "-d:testdef"
   output: '''works 34
 34
 defined
 3'''
 """
 
-{.reorder: on.}
-{.experimental.}
+{.experimental: "codeReordering".}
+
+{.push callconv: stdcall.}
 
 proc bar(x: T)
 
@@ -42,3 +43,5 @@ using
   my, omy: int
 
 goo(3, 4)
+
+{.pop.}