summary refs log tree commit diff stats
path: root/tests/importalls/mt4b.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/importalls/mt4b.nim')
-rw-r--r--tests/importalls/mt4b.nim3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/importalls/mt4b.nim b/tests/importalls/mt4b.nim
new file mode 100644
index 000000000..4578bc54c
--- /dev/null
+++ b/tests/importalls/mt4b.nim
@@ -0,0 +1,3 @@
+from ./m1 {.all.} as m2 import nil
+doAssert not compiles(foo1)
+doAssert m2.foo1 == 2