Major Overhaul of Pattern Match Checking (Fixes #595)
[ghc.git] / testsuite / tests / pmcheck / should_compile / T2204.hs
1 {-# OPTIONS_GHC -fwarn-incomplete-patterns -fwarn-overlapping-patterns #-}
2
3 module T2204 where
4
5 f :: String -> Int
6 f "01" = 0
7
8 g :: Int -> Int
9 g 0 = 0