summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/T20083.hs
blob: 21a0ca98b404ff13cc46d4cd33b4083b3cb5999b (plain)
1
2
3
4
5
6
7
8
9
{-# OPTIONS_GHC -fdefer-type-errors #-}

module T20083 where

ap :: (a -> b) -> a %m -> b
ap f x = f x

ap2 :: a %1-> ()
ap2 _ = ()