summary refs log tree commit diff stats
path: root/tests/objects/tobjects.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/objects/tobjects.nim')
-rw-r--r--tests/objects/tobjects.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/objects/tobjects.nim b/tests/objects/tobjects.nim
index 2f46b46b5..66a38960e 100644
--- a/tests/objects/tobjects.nim
+++ b/tests/objects/tobjects.nim
@@ -1,5 +1,5 @@
 type
-  TBase = object of TObject
+  TBase = object of RootObj
     x, y: int
 
   TSubclassKind = enum ka, kb, kc, kd, ke, kf
@@ -13,7 +13,7 @@ type
     n: bool
 
 type
-  TMyObject = object of TObject
+  TMyObject = object of RootObj
     case disp: range[0..4]
       of 0: arg: char
       of 1: s: string