summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/prog001/Read006.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/prog001/Read006.hs')
-rw-r--r--testsuite/tests/parser/prog001/Read006.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/parser/prog001/Read006.hs b/testsuite/tests/parser/prog001/Read006.hs
new file mode 100644
index 0000000000..87546cb550
--- /dev/null
+++ b/testsuite/tests/parser/prog001/Read006.hs
@@ -0,0 +1,5 @@
+-- !!! Testing handling of troublesome constructor name (:::)
+module Read006 (MyList(Empty, (:::))) where
+
+data MyList a = Empty
+ | (MyList a) ::: (MyList a)