diff options
Diffstat (limited to 'tests/modules/timportexcept.nim')
-rw-r--r-- | tests/modules/timportexcept.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/timportexcept.nim b/tests/modules/timportexcept.nim new file mode 100644 index 000000000..40b748088 --- /dev/null +++ b/tests/modules/timportexcept.nim @@ -0,0 +1,9 @@ +discard """ + errormsg: "undeclared identifier: '%'" + line: 9 +""" + +import strutils except `%` + +# doesn't work +echo "$1" % "abc" |