summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/prog001/B.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/typecheck/prog001/B.hs')
-rw-r--r--testsuite/tests/typecheck/prog001/B.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/prog001/B.hs b/testsuite/tests/typecheck/prog001/B.hs
new file mode 100644
index 0000000000..322a04cde7
--- /dev/null
+++ b/testsuite/tests/typecheck/prog001/B.hs
@@ -0,0 +1,7 @@
+{-# LANGUAGE MultiParamTypeClasses #-}
+module B where
+import A
+
+newtype Val = Val [Int]
+
+instance Matrix Bool Val