diff options
author | Clyybber <darkmine956@gmail.com> | 2021-01-22 13:14:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-22 13:14:28 +0100 |
commit | bebfbaa439194a15a9630d0e86ed677dde27c372 (patch) | |
tree | 3719549c7a697a64bb961fb6d3c1d8b6b6dba4fe /tests | |
parent | 72bbd07ec14f9879e0da85e2f57eae38b0d9e162 (diff) | |
download | Nim-bebfbaa439194a15a9630d0e86ed677dde27c372.tar.gz |
Add testcase for #14880 (#16795)
Diffstat (limited to 'tests')
-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] + |