Fix #11287.
[ghc.git] / testsuite / tests / th / T3467.hs
1 {-# LANGUAGE TemplateHaskell #-}
2
3 -- Test Trac #3467
4
5 module T3467 where
6
7 import Language.Haskell.TH
8 import Foreign
9
10 sizeq :: Name -> Q Exp
11 sizeq n = [| sizeOf (undefined :: $(conT n)) |]