packages feed

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

{-# LANGUAGE OverloadedLists #-}
{-# OPTIONS_GHC -fwarn-incomplete-patterns -fwarn-overlapping-patterns #-}

module T9951 where

f :: [a] -> ()
f x = case x of
  [] -> ()
  (_:_) -> ()