summary refs log tree commit diff stats
path: root/tests/objects/tobjconstr2.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/objects/tobjconstr2.nim')
-rw-r--r--tests/objects/tobjconstr2.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/objects/tobjconstr2.nim b/tests/objects/tobjconstr2.nim
index 6253edab0..cf4a694b4 100644
--- a/tests/objects/tobjconstr2.nim
+++ b/tests/objects/tobjconstr2.nim
@@ -15,8 +15,8 @@ echo s[0].x
 
 # bug #563
 type
-  Foo =
-    object {.inheritable.}
+  Foo {.inheritable.} =
+    object
       x: int
 
   Bar =