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

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

foo = $([| 1 |])