summaryrefslogtreecommitdiff
path: root/testsuite/tests/linear/should_fail/LinearTHFail2.hs
blob: f5613be0c48e84e5d7599ae4c459509e49c3cdfd (plain)
1
2
3
4
5
6
7
{-# LANGUAGE GADTs #-}
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE TemplateHaskell #-}

module LinearTHFail2 where

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