summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_compile/tc227.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc227.hs')
-rw-r--r--testsuite/tests/typecheck/should_compile/tc227.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc227.hs b/testsuite/tests/typecheck/should_compile/tc227.hs
new file mode 100644
index 0000000000..5a4736eccc
--- /dev/null
+++ b/testsuite/tests/typecheck/should_compile/tc227.hs
@@ -0,0 +1,6 @@
+-- Ensure that tuple instances are brought into scope
+-- See Trac #1385
+
+module ShouldCompile where
+
+foo = (1,True) == (2,False)