summaryrefslogtreecommitdiff
path: root/testsuite/tests/parser/should_fail/T3811.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/parser/should_fail/T3811.hs')
-rw-r--r--testsuite/tests/parser/should_fail/T3811.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/parser/should_fail/T3811.hs b/testsuite/tests/parser/should_fail/T3811.hs
new file mode 100644
index 0000000000..30c1f5068f
--- /dev/null
+++ b/testsuite/tests/parser/should_fail/T3811.hs
@@ -0,0 +1,5 @@
+
+module T3811 where
+
+f x :: Char
+f x = 'c'