diff options
Diffstat (limited to 'testsuite/tests/deSugar/should_compile/ds050.hs')
-rw-r--r-- | testsuite/tests/deSugar/should_compile/ds050.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/deSugar/should_compile/ds050.hs b/testsuite/tests/deSugar/should_compile/ds050.hs new file mode 100644 index 0000000000..be88654d7e --- /dev/null +++ b/testsuite/tests/deSugar/should_compile/ds050.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE Rank2Types #-} + +module ShouldCompile where + +data Q = Q {f :: forall a. a -> a} +g1 = f +g2 x = f x +g3 x y = f x y |