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.nim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/modules/treorder.nim b/tests/modules/treorder.nim
index 286b50e22..ff0b2e071 100644
--- a/tests/modules/treorder.nim
+++ b/tests/modules/treorder.nim
@@ -8,6 +8,8 @@ defined
 
 {.experimental: "codeReordering".}
 
+{.push callconv: stdcall.}
+
 proc bar(x: T)
 
 proc foo() =
@@ -41,3 +43,5 @@ using
   my, omy: int
 
 goo(3, 4)
+
+{.pop.}