diff options
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds017.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/ds017.hs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds017.hs b/testsuite/tests/deSugar/should_compile/ds017.hs new file mode 100644 index 0000000000..e6fd6d02f9 --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/ds017.hs @@ -0,0 +1,12 @@ +-- !!! ds017 -- let expressions +-- +module ShouldCompile where + +f x y z + = let + a = x : [] + b = x : a + c = y (let d = (z, z) in d) + result = (c, b) + in + result |