close #12684 add testcase (#17599)

This commit is contained in:
flywind 2021-04-01 02:55:27 +08:00 • committed by GitHub
commit fe9a37f2a5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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