blob: be760192ae813d075a18926189d3b31af77d6640 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
{-# OPTIONS_GHC -fplugin Simple.RemovePlugin #-}
{-# OPTIONS_GHC -fplugin-opt Simple.RemovePlugin:clear #-}
{-# OPTIONS_GHC -fplugin-opt Simple.RemovePlugin:meta #-}
{-# LANGUAGE TemplateHaskell #-}
-- testing that the plugin can alter the evaluated splice
module A where
import MetaRemoveHelper
$(clear [d| a = () |])
x = a
|