summaryrefslogtreecommitdiff
path: root/testsuite/tests/tcplugins/TcPlugin_Nullary.hs
blob: a45a32609421e91a5698add258b335ab7b6af06a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
{-# OPTIONS_GHC -dcore-lint #-}
{-# OPTIONS_GHC -fplugin NullaryPlugin #-}

module TcPlugin_Nullary where

import Definitions
  ( Nullary )

foo :: Nullary => ()
foo = ()

bar :: ()
bar = foo