diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/notnil/tmust_compile.nim | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tests/notnil/tmust_compile.nim b/tests/notnil/tmust_compile.nim index f4ac3724f..117921a57 100644 --- a/tests/notnil/tmust_compile.nim +++ b/tests/notnil/tmust_compile.nim @@ -55,4 +55,10 @@ proc parse(cts: CTS, jn: JsonNode) = thing: jn.getStr("thing") ) - cts.subs_by_sid[0] = ces \ No newline at end of file + cts.subs_by_sid[0] = ces + + +# bug #6489 + +proc p(x: proc(){.closure.} not nil) = discard +p(proc(){.closure.} = discard) |