diff options
Diffstat (limited to 'testsuite/tests/plugins/plugins12.hs')
-rw-r--r-- | testsuite/tests/plugins/plugins12.hs | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/testsuite/tests/plugins/plugins12.hs b/testsuite/tests/plugins/plugins12.hs new file mode 100644 index 0000000000..96d35db179 --- /dev/null +++ b/testsuite/tests/plugins/plugins12.hs @@ -0,0 +1,9 @@ +{-# OPTIONS_GHC -fplugin Simple.RemovePlugin #-} +{-# OPTIONS_GHC -fplugin-opt Simple.RemovePlugin:map #-} +{-# OPTIONS_GHC -fplugin-opt Simple.RemovePlugin:parse #-} +-- testing that the plugin can alter the parsed representation +module A where + +map x = () + +x = map show [1,2,3] |