packages feed

plugins-1.3: testsuite/dynload/should_fail_2/Plugin.in

--
-- the plugin doesn't even make the resource_dyn a Dynamic.
--
-- let's hope that makeWith strips out the invalid declarations
--

{-# OPTIONS -fglasgow-exts #-}

module Plugin where

import API
import AltData.Typeable
import GHC.Base

v :: Int
v = 0xdeadbeef

resource_dyn = (typeOf v, unsafeCoerce v)