diff options
Diffstat (limited to 'testsuite/tests/module/Mod115_A.hs')
-rw-r--r-- | testsuite/tests/module/Mod115_A.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/testsuite/tests/module/Mod115_A.hs b/testsuite/tests/module/Mod115_A.hs new file mode 100644 index 0000000000..77430951c1 --- /dev/null +++ b/testsuite/tests/module/Mod115_A.hs @@ -0,0 +1,11 @@ +-- re-exporting m2 outside of C(..) +module Mod115_A( C(m1), m2) where + +class C a where + m1 :: a -> Int + m2 :: a -> Bool + +instance C Int where + m1 _ = 1 + m2 _ = True + |