summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/T17594.hs
blob: 694aec46a7504387fcfb85b5656369ecbf762e99 (plain)
1
2
3
4
5
6
7
8
9
10
module T17594 where

id1 :: forall a. a -> a
id1 @a x = x

id2 :: forall a. a -> a
id2 @_ x = x

id3 :: forall a. a -> a
id3 @a (x :: a) = x