diff options
Diffstat (limited to 'testsuite/tests/typecheck/should_compile/T2478.hs')
-rw-r--r-- | testsuite/tests/typecheck/should_compile/T2478.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/typecheck/should_compile/T2478.hs b/testsuite/tests/typecheck/should_compile/T2478.hs new file mode 100644 index 0000000000..eec589b444 --- /dev/null +++ b/testsuite/tests/typecheck/should_compile/T2478.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE ExistentialQuantification, DatatypeContexts #-} + +module ShouldCompile where + + data Eq t => TrafoE t = forall env2 . TrafoE Int t + + newSRef () = TrafoE |