summary refs log tree commit diff stats
path: root/tests/macros/tvtable.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/macros/tvtable.nim')
-rw-r--r--tests/macros/tvtable.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/macros/tvtable.nim b/tests/macros/tvtable.nim
index dc07a726b..0f322b7d5 100644
--- a/tests/macros/tvtable.nim
+++ b/tests/macros/tvtable.nim
@@ -18,7 +18,7 @@ type
   # it's also possible to use a strongly typed tuple here
   VTable = array[0..1, pointer]
 
-  TBase = object {.inheritable.}
+  TBase {.inheritable.} = object
     vtbl: ptr VTable
 
   TUserObject1 = object of TBase