summary refs log tree commit diff stats
path: root/tests/run
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-08-24 19:08:34 +0200
committerAraq <rumpf_a@web.de>2012-08-24 19:08:34 +0200
commit8a92e95ccfb2653d8cea52a83c26ac8967557062 (patch)
treefc7fb79f860dd1d9c32fffb3afcf100454afa0c5 /tests/run
parentd17caa86e841489d92165d9caa13c2d8bc86afd5 (diff)
downloadNim-8a92e95ccfb2653d8cea52a83c26ac8967557062.tar.gz
made tests green again
Diffstat (limited to 'tests/run')
-rwxr-xr-xtests/run/mmultim3.nim2
-rwxr-xr-xtests/run/tmultim1.nim2
-rwxr-xr-xtests/run/tmultim2.nim2
-rwxr-xr-xtests/run/tofopr.nim2
4 files changed, 4 insertions, 4 deletions
diff --git a/tests/run/mmultim3.nim b/tests/run/mmultim3.nim
index ca73ebea6..3139a8089 100755
--- a/tests/run/mmultim3.nim
+++ b/tests/run/mmultim3.nim
@@ -1,5 +1,5 @@
 type
-    TObj* = object
+    TObj* = object {.inheritable.}
 
 var myObj* : ref TObj
 
diff --git a/tests/run/tmultim1.nim b/tests/run/tmultim1.nim
index 4fcf81c98..7f551aa64 100755
--- a/tests/run/tmultim1.nim
+++ b/tests/run/tmultim1.nim
@@ -5,7 +5,7 @@ discard """
 # Test multi methods
 
 type
-  Expression = ref object
+  Expression = ref object {.inheritable.}
   Literal = ref object of Expression
     x: int
   PlusExpr = ref object of Expression
diff --git a/tests/run/tmultim2.nim b/tests/run/tmultim2.nim
index 956b22647..75f652137 100755
--- a/tests/run/tmultim2.nim
+++ b/tests/run/tmultim2.nim
@@ -5,7 +5,7 @@ discard """
 # Test multi methods
 
 type
-  TThing = object
+  TThing = object {.inheritable.}
   TUnit = object of TThing
     x: int
   TParticle = object of TThing
diff --git a/tests/run/tofopr.nim b/tests/run/tofopr.nim
index f9c21ad16..961d81bd3 100755
--- a/tests/run/tofopr.nim
+++ b/tests/run/tofopr.nim
@@ -5,7 +5,7 @@ discard """
 # Test is operator
 
 type
-  TMyType = object
+  TMyType = object {.inheritable.}
     len: int
     data: string