summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T6005.hs
blob: 666aecf1ec99f5982055ffdd148b457e7b1e2807 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TemplateHaskell, DataKinds, PolyKinds #-}

module T6005 where

$( [d|
   data Nat = Zero | Succ Nat
   data Proxy a = Proxy
   foo :: Proxy 'Zero
   foo = foo
   |])