aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Threaded.hs
blob: afe38c27431bb20a35552813d8d1a47c04a96c06 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
{-# LANGUAGE Haskell2010 #-}
{-# LANGUAGE TemplateHaskell #-}

-- | Ensures haddock built with @-threaded@.
module Threaded where

import Threaded_TH

-- | @$(forkTH)@ fails at compile time if haddock isn't using the
-- threaded RTS.
f = $(forkTH)