summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T16059c.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/T16059c.hs')
-rw-r--r--testsuite/tests/typecheck/should_fail/T16059c.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_fail/T16059c.hs b/testsuite/tests/typecheck/should_fail/T16059c.hs
new file mode 100644
index 0000000000..d26c7db6d4
--- /dev/null
+++ b/testsuite/tests/typecheck/should_fail/T16059c.hs
@@ -0,0 +1,6 @@
+module T16059c where
+
+import T16059b
+
+f :: Foo -> a -> f
+f g x = g x