Add testcase for #14880 (#16795)

This commit is contained in:
Clyybber
2021-01-22 13:14:28 +01:00
committed by GitHub
parent 72bbd07ec1
commit bebfbaa439

View File

@@ -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]