summaryrefslogtreecommitdiff
path: root/testsuite/tests/warnings/should_fail/WerrorFail.hs
blob: c8ffefeb12347bbf59f715c0d1d3b7e572e2ade2 (plain)
1
2
3
4
5
6
{-# OPTIONS_GHC -Wmissing-signatures -Werror=incomplete-patterns #-}
module WerrorFail where

-- this should generate incomplete-patterns warning
foo :: Maybe a -> ()
foo Nothing = ()