summaryrefslogtreecommitdiff
path: root/tests/examples/AddLocalDecl5.hs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/examples/AddLocalDecl5.hs')
-rw-r--r--tests/examples/AddLocalDecl5.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/examples/AddLocalDecl5.hs b/tests/examples/AddLocalDecl5.hs
new file mode 100644
index 0000000..9f07e10
--- /dev/null
+++ b/tests/examples/AddLocalDecl5.hs
@@ -0,0 +1,8 @@
+module AddLocalDecl5 where
+
+toplevel :: Integer -> Integer
+toplevel x = c * x
+
+-- c,d :: Integer
+c = 7
+d = 9