summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/T4015.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/T4015.hs')
-rw-r--r--testsuite/tests/ghci/scripts/T4015.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/T4015.hs b/testsuite/tests/ghci/scripts/T4015.hs
new file mode 100644
index 0000000000..d2968db317
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/T4015.hs
@@ -0,0 +1,7 @@
+module Test (R(..)) where
+
+data R = R { x :: Char, y :: Int, z :: Float }
+ | S { x :: Char }
+ | T { y :: Int, z:: Float }
+ | W
+