diff options
Diffstat (limited to 'testsuite/tests/layout/layout004.hs')
-rw-r--r-- | testsuite/tests/layout/layout004.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/layout/layout004.hs b/testsuite/tests/layout/layout004.hs new file mode 100644 index 0000000000..46e47b13bd --- /dev/null +++ b/testsuite/tests/layout/layout004.hs @@ -0,0 +1,10 @@ + +{-# LANGUAGE PatternGuards #-} + +module M where + +f | Just x <- undefined, + let y = x, + undefined x y + = () + |