summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog002/A1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog002/A1.hs')
-rw-r--r--testsuite/tests/ghci/prog002/A1.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog002/A1.hs b/testsuite/tests/ghci/prog002/A1.hs
new file mode 100644
index 0000000000..069e8ef07a
--- /dev/null
+++ b/testsuite/tests/ghci/prog002/A1.hs
@@ -0,0 +1,6 @@
+module A where
+
+data T = A Int | B Float deriving Eq
+
+f :: Double -> Double
+f x = x + x