summaryrefslogtreecommitdiff
path: root/testsuite/tests/plugins/plugin-recomp/PurePlugin.hs
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/plugins/plugin-recomp/PurePlugin.hs')
-rw-r--r--testsuite/tests/plugins/plugin-recomp/PurePlugin.hs10
1 files changed, 10 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/plugin-recomp/PurePlugin.hs b/testsuite/tests/plugins/plugin-recomp/PurePlugin.hs
new file mode 100644
index 0000000000..c106aa3400
--- /dev/null
+++ b/testsuite/tests/plugins/plugin-recomp/PurePlugin.hs
@@ -0,0 +1,10 @@
+module PurePlugin where
+
+import GhcPlugins
+import Common
+
+plugin :: Plugin
+plugin = defaultPlugin {
+ installCoreToDos = install,
+ pluginRecompile = purePlugin
+ }