summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/haddockA026.hs
blob: b3f9f0cdb5a4fc51593c89e20f14aa99b84a5640 (plain)
1
2
3
4
5
6
7
8
9
10
{-# OPTIONS_GHC -fno-warn-redundant-constraints #-}
{-# LANGUAGE RankNTypes #-}

module ShouldCompile where

test :: (Eq a) => [a] -- ^ doc1
               -> forall b . [b] {-^ doc2 -}
               -> [a] -- ^ doc3
test xs ys = xs