summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T17345.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T17345.script')
-rw-r--r--testsuite/tests/ghci/scripts/T17345.script8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T17345.script b/testsuite/tests/ghci/scripts/T17345.script
new file mode 100644
index 0000000000..076e8153fd
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T17345.script
@@ -0,0 +1,8 @@
+-- Testing command name resolution with option (`!`)
+
+-- builtin command
+:k! ()
+
+-- macro command
+:def! kind! (\e -> putStrLn "called :kind! macro" >> return "")
+:k! ()