diff options
author | Andreas Rumpf <rumpf_a@web.de> | 2016-07-07 01:02:12 +0200 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2016-07-07 01:02:12 +0200 |
commit | e9eab32e54815bfad09fb0120aa4b024106f00ba (patch) | |
tree | 3b9a9f9e749d1000c74943253e57aee97428c394 /tests/modules | |
parent | 28940ce457e7a7f3e2d1d6cc0223bc0282ce509e (diff) | |
download | Nim-e9eab32e54815bfad09fb0120aa4b024106f00ba.tar.gz |
new language feature: explicit 'import system' statements are allowed
Diffstat (limited to 'tests/modules')
-rw-r--r-- | tests/modules/texplicit_system_import.nim | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/modules/texplicit_system_import.nim b/tests/modules/texplicit_system_import.nim new file mode 100644 index 000000000..bc4d018bf --- /dev/null +++ b/tests/modules/texplicit_system_import.nim @@ -0,0 +1,9 @@ +##. +import system except `+` +discard """ + errormsg: "undeclared identifier: '+'" + line: 9 +""" +# Testament requires that the initial """ occurs before the 40th byte +# in the file. No kidding... +echo 4+5 |