summaryrefslogtreecommitdiff
path: root/tests/examples/AddLocalDecl6.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/AddLocalDecl6.hs')
-rw-r--r--tests/examples/AddLocalDecl6.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/examples/AddLocalDecl6.hs b/tests/examples/AddLocalDecl6.hs
new file mode 100644
index 0000000..2ab96af
--- /dev/null
+++ b/tests/examples/AddLocalDecl6.hs
@@ -0,0 +1,9 @@
+module AddLocalDecl6 where
+
+foo [] = 1 -- comment 0
+foo xs = 2 -- comment 1
+
+bar [] = 1 -- comment 2
+ where
+ x = 3
+bar xs = 2 -- comment 3