diff options
Diffstat (limited to 'testsuite/tests/gadt/gadt1.hs')
-rw-r--r-- | testsuite/tests/gadt/gadt1.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testsuite/tests/gadt/gadt1.hs b/testsuite/tests/gadt/gadt1.hs new file mode 100644 index 0000000000..3412d90cf2 --- /dev/null +++ b/testsuite/tests/gadt/gadt1.hs @@ -0,0 +1,7 @@ +{-# LANGUAGE GADTs, Rank2Types #-} + +module ShouldCompile where + +-- Checks for bindInstsOfPatId +f :: (forall a. Eq a => a -> a) -> Bool +f g = g True
\ No newline at end of file |