summary refs log tree commit diff stats
path: root/tests/manyloc/standalone
diff options
context:
space:
mode:
Diffstat (limited to 'tests/manyloc/standalone')
-rw-r--r--tests/manyloc/standalone/barebone.nim4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/manyloc/standalone/barebone.nim b/tests/manyloc/standalone/barebone.nim
index 118328d82..6b452ead0 100644
--- a/tests/manyloc/standalone/barebone.nim
+++ b/tests/manyloc/standalone/barebone.nim
@@ -1,4 +1,6 @@
 
 proc printf(frmt: cstring) {.varargs, header: "<stdio.h>", cdecl.}
 
-printf("hi %ld\n", 4777)
+var x = 0
+inc x
+printf("hi %ld\n", x+4777)