diff options
author | Araq <rumpf_a@web.de> | 2013-06-30 22:10:04 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2013-06-30 22:10:04 +0200 |
commit | 30f8568570462f158e6928c3de8d41ea42cb39fd (patch) | |
tree | 327eb4784df4a88a6afcd960177f68811ac5cf02 /tests | |
parent | 1a5e30b0530a4460002b4ef2282498fa24ac8eff (diff) | |
download | Nim-30f8568570462f158e6928c3de8d41ea42cb39fd.tar.gz |
fixes --os:standalone
Diffstat (limited to 'tests')
-rw-r--r-- | tests/manyloc/standalone/barebone.nim | 4 |
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) |