diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc239.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc239.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc239.hs b/testsuite/tests/typecheck/should_compile/tc239.hs new file mode 100644 index 0000000000..81c39b790a --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc239.hs @@ -0,0 +1,11 @@ +-- Trac #1072
+
+module ShouldCompile where
+
+import Tc239_Help
+
+f1 :: Show a => WrapIO e a
+f1 = return undefined
+
+f2 :: Show a => WrapIO2 a
+f2 = f1
|