diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/tc066.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/tc066.hs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/tc066.hs b/testsuite/tests/typecheck/should_compile/tc066.hs new file mode 100644 index 0000000000..7c929516bc --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/tc066.hs @@ -0,0 +1,4 @@ +module ShouldSucceed where + +data Pair a b = MkPair a b +f x = [ a | (MkPair c a) <- x ] |