This commit is contained in:
flywind 2021-07-21 15:47:06 +08:00 • committed by GitHub
commit f048dad7c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 40 additions and 0 deletions

View file

@ -55,3 +55,11 @@ block t9442:
GC_unref(v2)
GC_ref(v3)
GC_unref(v3)
block: # bug #6499
let x = (chr, 0)
doAssert x[1] == 0
block: # bug #12229
proc foo(T: typedesc) = discard
foo(ref)