summaryrefslogtreecommitdiff
path: root/testsuite/tests/haddock/should_compile_flag_haddock/haddockLinear.hs
blob: 76293500d75dfd31b61f7bdf65b3a1135e363dc8 (plain)
1
2
3
4
5
6
7
8
{-# LANGUAGE LinearTypes #-}
{-# LANGUAGE GADTs #-}
module ShouldCompile where

data T where
  C1 :: Int %1 -> T
  C2 :: Int %m -> T
  C3 :: Int -> T