summary refs log tree commit diff stats
path: root/tests/overload/importA.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/overload/importA.nim')
-rw-r--r--tests/overload/importA.nim5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/overload/importA.nim b/tests/overload/importA.nim
new file mode 100644
index 000000000..f045d11b4
--- /dev/null
+++ b/tests/overload/importA.nim
@@ -0,0 +1,5 @@
+type
+  Field* = object
+    elemSize*: int
+
+template `+`*(x: untyped, y: Field): untyped = x