summaryrefslogtreecommitdiff
path: root/tests/examples/RmDecl6.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/RmDecl6.hs')
-rw-r--r--tests/examples/RmDecl6.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/examples/RmDecl6.hs b/tests/examples/RmDecl6.hs
new file mode 100644
index 0000000..f902880
--- /dev/null
+++ b/tests/examples/RmDecl6.hs
@@ -0,0 +1,11 @@
+module RmDecl6 where
+
+foo a = baz
+ where
+ baz :: Int
+ baz = x + a
+
+ x = 1
+
+ y :: Int -> Int -> Int
+ y a b = undefined