packages feed

ghc-exactprint-1.9.0.0: tests/examples/pre-ghc910/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"