summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T12478_4.hs
blob: 9017f32bd1e0eee35476c718638acb3685640ba5 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE UnboxedSums #-}
module T12478_4 where

import Language.Haskell.TH

f :: $(unboxedSumT 1 `appT` conT ''()) -> Int
f _ = 42