summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci.debugger/scripts/print021.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghci.debugger/scripts/print021.hs')
-rw-r--r--testsuite/tests/ghci.debugger/scripts/print021.hs18
1 files changed, 18 insertions, 0 deletions
diff --git a/testsuite/tests/ghci.debugger/scripts/print021.hs b/testsuite/tests/ghci.debugger/scripts/print021.hs
new file mode 100644
index 0000000000..7c3962d803
--- /dev/null
+++ b/testsuite/tests/ghci.debugger/scripts/print021.hs
@@ -0,0 +1,18 @@
+-- Test that we can recover unicode DataCons in :print
+data T
+ = À -- latin
+ | Α -- greek
+ | Ⴀ -- georgian
+ | Ϣ -- coptic
+ | А -- cyrillic
+ | Ա -- armenian
+ deriving Show
+
+test =
+ [ À -- latin
+ , Α -- greek
+ , Ⴀ -- georgian
+ , Ϣ -- coptic
+ , А -- cyrillic
+ , Ա -- armenian
+ ]