summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs')
-rw-r--r--testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs b/testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs
new file mode 100644
index 0000000000..2b23b21853
--- /dev/null
+++ b/testsuite/tests/ghc-api/exactprint/LayoutIn1.expected.hs
@@ -0,0 +1,9 @@
+module LayoutIn1 where
+
+--Layout rule applies after 'where','let','do' and 'of'
+
+--In this Example: rename 'sq' to 'square'.
+
+sumSquares x y= square x + square y where sq x= x^pow
+ --There is a comment.
+ pow=2