summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2013-06-30 22:10:04 +0200
committerAraq <rumpf_a@web.de>2013-06-30 22:10:04 +0200
commit30f8568570462f158e6928c3de8d41ea42cb39fd (patch)
tree327eb4784df4a88a6afcd960177f68811ac5cf02 /tests
parent1a5e30b0530a4460002b4ef2282498fa24ac8eff (diff)
downloadNim-30f8568570462f158e6928c3de8d41ea42cb39fd.tar.gz
fixes --os:standalone
Diffstat (limited to 'tests')
-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)