diff options
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds030.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/ds030.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds030.hs b/testsuite/tests/deSugar/should_compile/ds030.hs new file mode 100644 index 0000000000..8475b55a0f --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/ds030.hs @@ -0,0 +1,5 @@ +-- !!! ds030: checks that types substituted into binders +-- +module ShouldCompile where + +f x = case x of [] -> (3::Int) ; _ -> (4::Int) |