summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/prog018/A.hs
blob: aebfa35614e5d8b342adc82d122c6c5ba6700304 (plain)
1
2
3
4
5
6
7
8
{-# OPTIONS_GHC -Wincomplete-patterns -Wunused-matches #-}
module A where

incompletePattern :: Int -> Int
incompletePattern 0 = 0

unusedMatches :: Int -> Int
unusedMatches x = 0