summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/T3811e.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/T3811e.hs')
-rw-r--r--testsuite/tests/parser/should_fail/T3811e.hs6
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T3811e.hs b/testsuite/tests/parser/should_fail/T3811e.hs
new file mode 100644
index 0000000000..69a559c9c4
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/T3811e.hs
@@ -0,0 +1,6 @@
+
+{-# LANGUAGE NoDatatypeContexts #-}
+
+module T3811e where
+
+data (Show a, Read a) => D a = D a