summaryrefslogtreecommitdiff
path: root/testsuite/tests/patsyn/should_fail/T9705-1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/patsyn/should_fail/T9705-1.hs')
-rw-r--r--testsuite/tests/patsyn/should_fail/T9705-1.hs3
1 files changed, 3 insertions, 0 deletions
diff --git a/testsuite/tests/patsyn/should_fail/T9705-1.hs b/testsuite/tests/patsyn/should_fail/T9705-1.hs
new file mode 100644
index 0000000000..54d1d00e7f
--- /dev/null
+++ b/testsuite/tests/patsyn/should_fail/T9705-1.hs
@@ -0,0 +1,3 @@
+{-# LANGUAGE PatternSynonyms #-}
+class C a where
+ pattern P = ()