diff options
Diffstat (limited to 'testsuite/tests/rebindable/rebindable12.hs')
-rw-r--r-- | testsuite/tests/rebindable/rebindable12.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/rebindable/rebindable12.hs b/testsuite/tests/rebindable/rebindable12.hs new file mode 100644 index 0000000000..5fa4d07790 --- /dev/null +++ b/testsuite/tests/rebindable/rebindable12.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE RebindableSyntax #-} +module Rebindable12 where + +import Prelude + +ifThenElse :: Char -> () -> () -> () -> () +ifThenElse _ _ _ _ = () + +y :: () +y = if 'a' then () else () |