summary refs log tree commit diff stats
path: root/tests
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-09-18 17:47:57 +0200
committerAraq <rumpf_a@web.de>2012-09-18 17:47:57 +0200
commit9b8afc9321e53f270c13418d9aa18ebc1e9d40f4 (patch)
tree701a80e916ec9bb4816595533152b012d8ab6406 /tests
parent4892d6929a5b60a004f5f9a12902ef4f7d37a9d8 (diff)
downloadNim-9b8afc9321e53f270c13418d9aa18ebc1e9d40f4.tar.gz
pragma statements in rodfiles -- couldn't reproduce
Diffstat (limited to 'tests')
-rw-r--r--tests/rodfiles/int2bool.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/rodfiles/int2bool.nim b/tests/rodfiles/int2bool.nim
index e6add9848..0f6fd14e6 100644
--- a/tests/rodfiles/int2bool.nim
+++ b/tests/rodfiles/int2bool.nim
@@ -1,5 +1,8 @@
 
+{.overflowchecks: on.}
+
 converter uglyToBool*(x: int): bool =
+  {.Breakpoint.}
   result = x != 0