summaryrefslogtreecommitdiff
path: root/tests/examples/ghc86/TH_raiseErr1.hs
blob: 892fd1126e9a7c735ba70caf9409b495e9172a80 (plain)
1
2
3
4
5
6
{-# LANGUAGE TemplateHaskell #-}
module TH_raiseErr1 where
import Language.Haskell.TH

foo = $(do { report True "Error test succeeded"; fail "" })