summary refs log tree commit diff stats
path: root/tests/array
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-08-25 20:21:08 +0200
committerAndreas Rumpf <rumpf_a@web.de>2016-08-25 20:21:08 +0200
commitd1e199e0d89c48628a5452551d50b145b0302ed8 (patch)
tree9275d3ffeed78719ad46f03217cf4caef83d55d4 /tests/array
parent54cc7023511fcd0cf72fcdd18c1af30cb0901b2a (diff)
downloadNim-d1e199e0d89c48628a5452551d50b145b0302ed8.tar.gz
make tests green again
Diffstat (limited to 'tests/array')
-rw-r--r--tests/array/troof2.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/array/troof2.nim b/tests/array/troof2.nim
index d4c1a4982..e4b4f4b3c 100644
--- a/tests/array/troof2.nim
+++ b/tests/array/troof2.nim
@@ -2,8 +2,8 @@ discard """
   errormsg: "invalid context for '^' as 'foo()' has side effects"
   line: "9"
 """
-
-proc foo(): seq[int] =
+# XXX This needs to be fixed properly!
+proc foo(): seq[int] {.sideEffect.} =
   echo "ha"
 
 let f = foo()[^1]