summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs')
-rw-r--r--testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs18
1 files changed, 0 insertions, 18 deletions
diff --git a/testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs b/testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs
deleted file mode 100644
index 2b091de5e9..0000000000
--- a/testsuite/tests/ghc-regress/simplCore/should_compile/rule2.hs
+++ /dev/null
@@ -1,18 +0,0 @@
-{-# LANGUAGE RankNTypes #-}
-{-# OPTIONS_GHC -ddump-simpl-stats #-}
-
--- The rule foo/bar should fire
-
-module Roman where
-
-foo :: (forall m. m a -> m b) -> m a -> m b
-{-# NOINLINE foo #-}
-foo f = f
-
-bar :: (forall m. m a -> m a) -> m a -> m a
-bar f = f
-
-{-# RULES "foo/bar" foo = bar #-}
-
-blip = foo id
-