summaryrefslogtreecommitdiff
path: root/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs')
-rw-r--r--testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs14
1 files changed, 0 insertions, 14 deletions
diff --git a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs b/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs
deleted file mode 100644
index b369fc019f..0000000000
--- a/testsuite/tests/monadfail/MonadFailWarningsWithRebindableSyntax.hs
+++ /dev/null
@@ -1,14 +0,0 @@
--- Test purpose:
--- RebindableSyntax does not play that well with MonadFail, so here we ensure
--- that when both settings are enabled we get the proper warning.
-
-{-# OPTIONS_GHC -Wmissing-monadfail-instances -Wno-error=compat #-}
-{-# LANGUAGE RebindableSyntax #-}
-
-module MonadFailWarningsWithRebindableSyntax where
-
-import Prelude
-
-test1 f g = do
- Just x <- f
- g