blob: b401ca40d5ed814e30286d5343fef1cac6ad8a36 (
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 []
)
|