summaryrefslogtreecommitdiff
path: root/utils/check-exact/cases/AddDecl3.hs
diff options
context:
space:
mode:
Diffstat (limited to 'utils/check-exact/cases/AddDecl3.hs')
-rw-r--r--utils/check-exact/cases/AddDecl3.hs11
1 files changed, 11 insertions, 0 deletions
diff --git a/utils/check-exact/cases/AddDecl3.hs b/utils/check-exact/cases/AddDecl3.hs
new file mode 100644
index 0000000000..45c0cb3864
--- /dev/null
+++ b/utils/check-exact/cases/AddDecl3.hs
@@ -0,0 +1,11 @@
+module AddDecl where
+
+-- Adding a declaration to an existing file
+
+-- | Do foo
+foo a b = a + b
+
+-- | Do bar
+bar x y = {- baz -} foo (x+y) x
+
+-- end of file