summaryrefslogtreecommitdiff
path: root/testsuite/tests/rebindable/rebindable12.hs
blob: 5fa4d077909aee7ab309e7df924ee40d22e0b4bb (plain)
1
2
3
4
5
6
7
8
9
10
{-# LANGUAGE RebindableSyntax #-}
module Rebindable12 where

import Prelude

ifThenElse :: Char -> () -> () -> () -> ()
ifThenElse _ _ _ _ = ()

y :: ()
y = if 'a' then () else ()