diff options
Diffstat (limited to 'testsuite/tests/module/mod48.hs')
-rw-r--r-- | testsuite/tests/module/mod48.hs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod48.hs b/testsuite/tests/module/mod48.hs new file mode 100644 index 0000000000..681d356e2e --- /dev/null +++ b/testsuite/tests/module/mod48.hs @@ -0,0 +1,5 @@ +-- !!! Class decl can't use pattern bindings +module M where +class C a where + x,y :: a + (x,y) = error "foo"
\ No newline at end of file |