diff options
Diffstat (limited to 'tests/objects')
-rw-r--r-- | tests/objects/tobject.nim | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/objects/tobject.nim b/tests/objects/tobject.nim index fbf531c3d..34856eaef 100644 --- a/tests/objects/tobject.nim +++ b/tests/objects/tobject.nim @@ -37,3 +37,8 @@ f(m) var a: TYourObj = m var b: TMyObj = a + +# bug #10195 +type + InheritableFoo {.inheritable.} = ref object + InheritableBar = ref object of InheritableFoo # ERROR. |