summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/mod49.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/mod49.hs')
-rw-r--r--testsuite/tests/module/mod49.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod49.hs b/testsuite/tests/module/mod49.hs
new file mode 100644
index 0000000000..7f995ecfbc
--- /dev/null
+++ b/testsuite/tests/module/mod49.hs
@@ -0,0 +1,5 @@
+-- !!! Default decl for non-method
+module M where
+class C a where
+ x :: a
+ y = error "foo"