summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins/test-echo-in-turn.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/plugins/test-echo-in-turn.hs')
-rw-r--r--testsuite/tests/plugins/test-echo-in-turn.hs17
1 files changed, 17 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/test-echo-in-turn.hs b/testsuite/tests/plugins/test-echo-in-turn.hs
new file mode 100644
index 0000000000..272ca11afe
--- /dev/null
+++ b/testsuite/tests/plugins/test-echo-in-turn.hs
@@ -0,0 +1,17 @@
+{-# OPTIONS -fplugin-opt Echo2:B #-}
+
+{-# OPTIONS -fplugin Echo1 #-}
+{-# OPTIONS -fplugin-opt Echo1:A #-}
+
+{-# OPTIONS -fplugin Echo2 #-}
+
+module Main where
+
+foo :: IO a
+foo = undefined
+
+bar :: IO a
+bar = undefined
+
+main :: IO ()
+main = return ()