packages feed

ghc-exactprint-0.5.1.0: tests/examples/ghc8/DsStrictWarn.hs

{-# OPTIONS_GHC -fwarn-incomplete-uni-patterns #-}
{-# LANGUAGE Strict #-}
module DsStrictWarn where

-- should warn about non-exhaustive pattern match
w :: String -> String
w x = let (_:_) = x in "1"