summaryrefslogtreecommitdiff
path: root/testsuite/tests/rename/should_compile/T6027.hs
blob: 3188946652aded426c42f1e4e11cb804378fa1b8 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TypeOperators #-}

module T6027 where

data (?) a b = Q a b

infixr 2 ?

test :: Int ? String ? Bool
test = 0 `Q` ("foo" `Q` True)