aboutsummaryrefslogtreecommitdiff
path: root/html-test/src
diff options
context:
space:
mode:
authorƁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-07-21 19:29:58 +0200
committerMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2015-08-21 18:22:31 +0100
commit1700278e2d5978d098f2acb610442df2bc0ae02a (patch)
treef8481ebc34b23ac29bf1f9e9842d3b790f870cf5 /html-test/src
parentf0edea1969cdc06d0299c606debf533d7ece77f0 (diff)
Add new data type declaration to instance specialization test case.
Diffstat (limited to 'html-test/src')
-rw-r--r--html-test/src/Instances.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/html-test/src/Instances.hs b/html-test/src/Instances.hs
index 9886fb69..58bdc873 100644
--- a/html-test/src/Instances.hs
+++ b/html-test/src/Instances.hs
@@ -56,3 +56,10 @@ instance Baz (a -> b)
instance Baz [c]
instance Baz (a, b, c)
instance Baz (a, [b], b, a)
+
+
+data Quux a b c = Qx a | Qux a b | Quux a b c
+
+instance Foo (Quux a b)
+instance Bar (Quux a c) (Quux a b c)
+instance Baz (Quux a b c)