* fixes #18550

* update the manual to reflect reality
This commit is contained in:
Andreas Rumpf 2021-07-21 16:55:50 +02:00 • committed by GitHub
commit 01fc9e58ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 57 additions and 11 deletions

View file

@ -1,5 +1,5 @@
discard """
matrix: "--warningAsError:EnumConv"
matrix: "--warningAsError:EnumConv --warningAsError:CStringConv"
"""
template reject(x) =
@ -84,3 +84,11 @@ block: # https://github.com/nim-lang/RFCs/issues/294
reject: Goo(k2)
reject: k2.Goo
reject:
# bug #18550
proc f(c: char): cstring =
var x = newString(109*1024*1024)
x[0] = c
x