diff options
Diffstat (limited to 'testsuite/tests/module/mod45.hs')
-rw-r--r-- | testsuite/tests/module/mod45.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/module/mod45.hs b/testsuite/tests/module/mod45.hs new file mode 100644 index 0000000000..03a1bc32ba --- /dev/null +++ b/testsuite/tests/module/mod45.hs @@ -0,0 +1,7 @@ +-- !!! Type sigs in instance decl +module M where +data T = T Int +instance Eq T where + (==) :: T -> T -> Bool + T x == T y = x == y + |