summaryrefslogtreecommitdiff
path: root/testsuite/tests/th/T9066.hs
blob: 2e46fe572464ed99eaa822e6d3ac1fc28225dc15 (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE TemplateHaskell #-}

module T9066 where

$([d| data Blargh = (:<=>) Int Int
      infix 4 :<=>

      type Foo a b = Either a b
      infix 5 `Foo`
        |])