diff options
author | Timothee Cour <timothee.cour2@gmail.com> | 2021-04-16 00:16:39 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 09:16:39 +0200 |
commit | 8161b02897a75c4b30593dbcc189cbd49d3832ea (patch) | |
tree | 399ca0d086a7e6917fae6c47c8dd899bd80f9102 /tests/importalls/mt4.nim | |
parent | 12783dbcf0075492a3d090e4dc3ead3628c18a3a (diff) | |
download | Nim-8161b02897a75c4b30593dbcc189cbd49d3832ea.tar.gz |
`import foo {.all.}` reboot (#17706)
Diffstat (limited to 'tests/importalls/mt4.nim')
-rw-r--r-- | tests/importalls/mt4.nim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/importalls/mt4.nim b/tests/importalls/mt4.nim new file mode 100644 index 000000000..cd7d32aad --- /dev/null +++ b/tests/importalls/mt4.nim @@ -0,0 +1,4 @@ +import ./m1 {.all.} except foo1 +doAssert foo2 == 2 +doAssert declared(foo2) +doAssert not compiles(foo1) |