diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T4912a.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T4912a.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T4912a.hs b/testsuite/tests/typecheck/should_compile/T4912a.hs new file mode 100644 index 0000000000..4cc1548c05 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/T4912a.hs @@ -0,0 +1,9 @@ +module T4912a where + +data TheirData = TheirData + +class Foo a where + foo :: a -> a + +class Bar a where + bar :: a -> String |