summaryrefslogtreecommitdiff
path: root/testsuite/tests/quotes/TH_double_splice.hs
blob: d8a0faeeae19e4ced1eaf3e6d71c40e3812b5afa (plain)
1
2
3
4
5
6
7
{-# LANGUAGE TemplateHaskellQuotes #-}
module TH_double_splice where

-- Should be a compile time error as TemplateHaskell is not enabled.

foo = [| $($(error "should not happen")) |]