diff --git a/tests/ccgbugs/tissues.nim b/tests/ccgbugs/tissues.nim index 7a8ede9589..a0c402cc07 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] +