summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc099.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc099.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/tc099.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc099.hs b/testsuite/tests/typecheck/should_compile/tc099.hs
new file mode 100644
index 0000000000..367789a4c7
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/tc099.hs
@@ -0,0 +1,8 @@
+-- !! check if tc type substitutions really do
+-- !! clone (or if not, work around it by cloning
+-- !! all binders in first pass of the simplifier).
+module ShouldCompile where
+
+f,g :: Eq a => (a,b)
+f = g
+g = f