summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_compile/LinearTH4.hs
blob: 3061e77ce64d14c7609a697a8fb82a688452daef (plain)
1
2
3
4
5
6
{-# LANGUAGE GADTs #-}
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE TemplateHaskell #-}
module LinearTH4 where

$([d| data T where { MkT :: Int %1 -> T } |])