summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog002/B.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog002/B.hs')
-rw-r--r--testsuite/tests/ghci/prog002/B.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog002/B.hs b/testsuite/tests/ghci/prog002/B.hs
new file mode 100644
index 0000000000..6aced23415
--- /dev/null
+++ b/testsuite/tests/ghci/prog002/B.hs
@@ -0,0 +1,7 @@
+module B (f, g, h) where
+
+import A
+
+g x = f x + 1
+
+h x = x `div` 2