summary refs log tree commit diff stats
path: root/tests/template/tdotcall.nim
diff options
context:
space:
mode:
Diffstat (limited to 'tests/template/tdotcall.nim')
-rw-r--r--tests/template/tdotcall.nim10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/template/tdotcall.nim b/tests/template/tdotcall.nim
new file mode 100644
index 000000000..abcbc8bd5
--- /dev/null
+++ b/tests/template/tdotcall.nim
@@ -0,0 +1,10 @@
+import mdotcall
+
+# issue #20073
+works()
+boom()
+
+# issue #7085
+doAssert baz("hello") == "hellobar"
+doAssert baz"hello" == "hellobar"
+doAssert "hello".baz == "hellobar"