summaryrefslogtreecommitdiff
path: root/testsuite/tests/layout/layout005.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/layout/layout005.hs')
-rw-r--r--testsuite/tests/layout/layout005.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/layout/layout005.hs b/testsuite/tests/layout/layout005.hs
new file mode 100644
index 0000000000..df68795665
--- /dev/null
+++ b/testsuite/tests/layout/layout005.hs
@@ -0,0 +1,10 @@
+
+module M where
+
+-- GHC's Lexer.x had a piece of code like this
+
+f = if True then do
+ case () of
+ () -> ()
+ else ()
+