Fix #11287.
[ghc.git] / testsuite / tests / th / TH_exn1.hs
1 {-# LANGUAGE TemplateHaskell #-}
2
3 -- Test error message when the code in a splice
4 -- fails in an immediate fashion (e.g. with a
5 -- pattern match failure)
6
7 module ShouldCompile where
8
9 $( case reverse "no" of
10 [] -> return []
11 )