summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/Ghci025C.hs
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2011-09-01 22:41:03 +0100
committerIan Lynagh <igloo@earth.li>2011-09-01 22:41:03 +0100
commit8dd8177370b34bd963a3fcab327b4ec6317d1210 (patch)
tree3a3142aff3bc6602b5eb498098372b014d3ea298 /testsuite/tests/ghci/scripts/Ghci025C.hs
parentd45fc3676a33f67885729a1a5e1b469e2f5aa7b8 (diff)
downloadhaskell-8dd8177370b34bd963a3fcab327b4ec6317d1210.tar.gz
Stop ghci025 sharing files with prog001
The tests could have failed if they ran in parallel
Diffstat (limited to 'testsuite/tests/ghci/scripts/Ghci025C.hs')
-rw-r--r--testsuite/tests/ghci/scripts/Ghci025C.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/Ghci025C.hs b/testsuite/tests/ghci/scripts/Ghci025C.hs
new file mode 100644
index 0000000000..9b73b6de7b
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/Ghci025C.hs
@@ -0,0 +1,9 @@
+module Ghci025C (f, g, h) where
+
+import Ghci025D
+
+g x = f x + 1
+
+h x = x `div` 2
+
+data C = C {x :: Int}