summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T15518.hs
blob: eb424a94ddccc7c0ad129edff92c35db57366099 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE LambdaCase #-}
{-# LANGUAGE TemplateHaskell #-}
module T15518 where

$([d| f :: Bool -> ()
      f = \case True  -> ()
                False -> ()
    |])