diff options
author | Araq <rumpf_a@web.de> | 2019-02-19 16:22:09 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2019-02-19 16:25:57 +0100 |
commit | f31d1fa98b65f497b914f5bbfe1a3827cf791814 (patch) | |
tree | 6489918838d43fd930b798b81cbb9e184cadd166 /tests/objects | |
parent | 51f516e030c9727f756e4e53558c5e7cb8f93ccd (diff) | |
download | Nim-f31d1fa98b65f497b914f5bbfe1a3827cf791814.tar.gz |
fixes #10195
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. |