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

module TcPlugin_CtId where

import Definitions
  ( CtId )

foo :: CtId (Num a) => a
foo = 5

bar :: Int
bar = foo