summaryrefslogtreecommitdiff
path: root/testsuite/tests/module/Mod159_A.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/module/Mod159_A.hs')
-rw-r--r--testsuite/tests/module/Mod159_A.hs13
1 files changed, 13 insertions, 0 deletions
diff --git a/testsuite/tests/module/Mod159_A.hs b/testsuite/tests/module/Mod159_A.hs
new file mode 100644
index 0000000000..396fcd8252
--- /dev/null
+++ b/testsuite/tests/module/Mod159_A.hs
@@ -0,0 +1,13 @@
+module Mod159_A (C(..)) where
+
+class C a where
+ m1 :: a -> Int
+ m2 :: a -> Int
+ m3 :: a -> Int
+
+instance C Char where
+ m1 _ = 1
+ m2 _ = 2
+ m3 _ = 3
+
+