summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog001/C.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog001/C.hs')
-rw-r--r--testsuite/tests/ghci/prog001/C.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog001/C.hs b/testsuite/tests/ghci/prog001/C.hs
new file mode 100644
index 0000000000..006014f98c
--- /dev/null
+++ b/testsuite/tests/ghci/prog001/C.hs
@@ -0,0 +1,9 @@
+module C (f, g, h) where
+
+import D
+
+g x = f x + 1
+
+h x = x `div` 2
+
+data C = C {x :: Int}