summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_compile/LinearHole.hs
blob: e3016339d12bd621aeab9199ef38c8fa29accc68 (plain)
1
2
3
4
5
6
7
{-# LANGUAGE LinearTypes #-}
{-# OPTIONS_GHC -fdefer-typed-holes -Wno-typed-holes #-}

module LinearHole where  -- #18491

f :: Int %1 -> Bool %1 -> Char
f x y = _1