summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearAsPat.hs
blob: 86b557c66b104360426c328c603040a19e1e8565 (plain)
1
2
3
4
5
6
{-# LANGUAGE LinearTypes #-}

module LinearAsPat where

shouldFail :: Bool %1 -> Bool
shouldFail x@True = x