diff options
Diffstat (limited to 'testsuite/tests/partial-sigs/should_compile/InstanceGivenOverlap3.hs')
-rw-r--r-- | testsuite/tests/partial-sigs/should_compile/InstanceGivenOverlap3.hs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/testsuite/tests/partial-sigs/should_compile/InstanceGivenOverlap3.hs b/testsuite/tests/partial-sigs/should_compile/InstanceGivenOverlap3.hs new file mode 100644 index 0000000000..be4cd92ed9 --- /dev/null +++ b/testsuite/tests/partial-sigs/should_compile/InstanceGivenOverlap3.hs @@ -0,0 +1,6 @@ +{-# LANGUAGE PartialTypeSignatures, FlexibleContexts #-} + +module InstanceGivenOverlap3 where + +f :: Eq [a] => a -> _ +f x = x |