diff options
Diffstat (limited to 'tests/ccgbugs/tissues.nim')
-rw-r--r-- | tests/ccgbugs/tissues.nim | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ccgbugs/tissues.nim b/tests/ccgbugs/tissues.nim index 7a8ede958..a0c402cc0 100644 --- a/tests/ccgbugs/tissues.nim +++ b/tests/ccgbugs/tissues.nim @@ -26,3 +26,13 @@ type var troz: fooObj[string] echo bazObj[string](troz).x + + +# bug #14880 +type step = object + exec: proc () + +const pipeline = @[step()] + +let crash = pipeline[0] + |