aboutsummaryrefslogtreecommitdiff
path: root/html-test/src/Threaded.hs
blob: 7f3073adfa23f9123eac8c4bb96fc338c31f6ce0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
{-# 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)