summaryrefslogtreecommitdiff
path: root/testsuite/tests/rebindable/rebindable1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/rebindable/rebindable1.hs')
-rw-r--r--testsuite/tests/rebindable/rebindable1.hs7
1 files changed, 4 insertions, 3 deletions
diff --git a/testsuite/tests/rebindable/rebindable1.hs b/testsuite/tests/rebindable/rebindable1.hs
index 1fb0b596fb..7bf3e237a6 100644
--- a/testsuite/tests/rebindable/rebindable1.hs
+++ b/testsuite/tests/rebindable/rebindable1.hs
@@ -1,3 +1,4 @@
+{-# OPTIONS_GHC -fno-warn-missing-monadfail-instance #-}
{-# LANGUAGE RebindableSyntax, NPlusKPatterns #-}
module RebindableCase1 where
@@ -11,7 +12,7 @@ module RebindableCase1 where
infixl 1 >>=;
(>>=) :: a;
(>>=) = undefined;
-
+
infixl 1 >>;
(>>) :: a;
(>>) = undefined;
@@ -38,9 +39,9 @@ module RebindableCase1 where
Just a <- g;
return a;
};
-
+
test_fromInteger = 1;
-
+
test_fromRational = 0.5;
test_negate a = - a;