rebindable-clash-warning-fix : correct warning logic
[ghc.git] / testsuite / tests / rebindable / rebindable11.hs
1 {-# LANGUAGE RebindableSyntax, MonadFailDesugaring #-}
2 {-# OPTIONS_GHC -Wno-missing-monadfail-instances #-}
3
4 -- Test that rebindable clash warnings are not displayed. This program
5 -- should not generate anything on stderr at compile time.
6
7 module Main where
8
9 import Prelude
10
11 catMaybes xs = do
12 Just x <- xs
13 return x
14
15 main = return ()