summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog001/D2.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/prog001/D2.hs')
-rw-r--r--testsuite/tests/ghci/prog001/D2.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/prog001/D2.hs b/testsuite/tests/ghci/prog001/D2.hs
new file mode 100644
index 0000000000..997171cdb6
--- /dev/null
+++ b/testsuite/tests/ghci/prog001/D2.hs
@@ -0,0 +1,5 @@
+module D where
+
+data T = A Int | B Float deriving Eq
+
+f x = x + 1