summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/TH_exn1.hs
blob: bfc6f5d252ff25017d7734b351f35ce3715d95b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE TemplateHaskell #-}

-- Test error message when the code in a splice
-- fails in an immediate fashion (e.g. with a
-- pattern match failure)

module ShouldCompile where

$( case reverse "no" of
        [] -> return []
 )