summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci013.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci013.script')
-rw-r--r--testsuite/tests/ghci/scripts/ghci013.script5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci013.script b/testsuite/tests/ghci/scripts/ghci013.script
new file mode 100644
index 0000000000..eec0af840a
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/ghci013.script
@@ -0,0 +1,5 @@
+-- type-variable tidying problem in 6.4
+-- incorrect type: (Monad m) => (m a, b) -> m b
+-- correct type: (Monad m) => (m a, b) -> m b1
+let f (a,b) = a >> undefined
+:t f