summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci040.script
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci040.script')
-rw-r--r--testsuite/tests/ghci/scripts/ghci040.script4
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci040.script b/testsuite/tests/ghci/scripts/ghci040.script
new file mode 100644
index 0000000000..cecb6842d6
--- /dev/null
+++ b/testsuite/tests/ghci/scripts/ghci040.script
@@ -0,0 +1,4 @@
+--Testing type and constructor shadowing
+data T = A | B
+data T = B | C
+:i A