diff options
Diffstat (limited to 'testsuite/tests/linear/should_compile/LinearEmptyCase.hs')
-rw-r--r-- | testsuite/tests/linear/should_compile/LinearEmptyCase.hs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/testsuite/tests/linear/should_compile/LinearEmptyCase.hs b/testsuite/tests/linear/should_compile/LinearEmptyCase.hs new file mode 100644 index 0000000000..daa1918b56 --- /dev/null +++ b/testsuite/tests/linear/should_compile/LinearEmptyCase.hs @@ -0,0 +1,8 @@ +{-# LANGUAGE EmptyCase, LinearTypes #-} + +module LinearEmptyCase where + +data Void + +f :: a #-> Void -> b +f x y = case y of {} |