summaryrefslogtreecommitdiff
path: root/testsuite/tests/stranal/should_compile/goo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/stranal/should_compile/goo.hs')
-rw-r--r--testsuite/tests/stranal/should_compile/goo.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/stranal/should_compile/goo.hs b/testsuite/tests/stranal/should_compile/goo.hs
new file mode 100644
index 0000000000..00282bb79e
--- /dev/null
+++ b/testsuite/tests/stranal/should_compile/goo.hs
@@ -0,0 +1,10 @@
+module Test where
+data Goo a = Gsimpl | Gcompl ([Goo a])
+data Moo a b = Msimple | Mcompl (Moo b a)
+
+
+idGoo :: Goo a -> Goo a
+idGoo x = x
+
+idMoo :: Moo a b -> Moo a b
+idMoo x = x