summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_compile/LinearEmptyCase.hs
blob: daa1918b5633b973b8a81ee435453bb391c04fd7 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE EmptyCase, LinearTypes #-}

module LinearEmptyCase where

data Void

f :: a #-> Void -> b
f x y = case y of {}