close #12684 add testcase (#17599)

This commit is contained in:
flywind
2021-04-01 02:55:27 +08:00
committed by GitHub
parent 3f9c26539d
commit fe9a37f2a5

View File

@@ -0,0 +1,7 @@
discard """
cmd: "nim check --hints:off --warnings:off $file"
errormsg: "undeclared identifier: 'Undeclared'"
"""
var x: Undeclared
import compiler/nimeval