blob: f2c72c46a4cae924f1606b100d21fc26cebbbb30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
{-# LANGUAGE TemplateHaskell #-}
-- Test #3467
module T3467 where
import Language.Haskell.TH
import Foreign
sizeq :: Name -> Q Exp
sizeq n = [| sizeOf (undefined :: $(conT n)) |]
|