hs-bindgen-1.0.0.0: test-artefacts/fixtures/functions/fun_attributes_conflict/th.txt
-- addDependentFile test-artefacts/headers/golden/functions/fun_attributes_conflict.h
-- #include <functions/fun_attributes_conflict.h>
-- signed int hs_bindgen_5d7162df3a16d8d5 (
-- signed int arg1
-- )
-- {
-- return (square_cp)(arg1);
-- }
-- signed int hs_bindgen_7f240b4e0c2eea24 (
-- signed int arg1
-- )
-- {
-- return (square_pc)(arg1);
-- }
-- signed int hs_bindgen_d32b50f04af10764 (
-- signed int arg1
-- )
-- {
-- return (square_cc)(arg1);
-- }
-- signed int hs_bindgen_fab6c9860ff1400b (
-- signed int arg1
-- )
-- {
-- return (square_pp)(arg1);
-- }
-- signed int hs_bindgen_648d4f0fd0df4c79 (
-- signed int arg1
-- )
-- {
-- return (square_cp)(arg1);
-- }
-- signed int hs_bindgen_632a1e6eb5ceeda7 (
-- signed int arg1
-- )
-- {
-- return (square_pc)(arg1);
-- }
-- signed int hs_bindgen_56d75b1ff2482f13 (
-- signed int arg1
-- )
-- {
-- return (square_cc)(arg1);
-- }
-- signed int hs_bindgen_eac2f9645ef29119 (
-- signed int arg1
-- )
-- {
-- return (square_pp)(arg1);
-- }
-- /* test_functionsfun_attributes_confl_Example_get_square_cp */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_9445b7269de35e9e (void)) (
-- signed int arg1
-- )
-- {
-- return &square_cp;
-- }
-- /* test_functionsfun_attributes_confl_Example_get_square_pc */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_b0c647124e93645d (void)) (
-- signed int arg1
-- )
-- {
-- return &square_pc;
-- }
-- /* test_functionsfun_attributes_confl_Example_get_square_cc */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_87ee2f018e6d262a (void)) (
-- signed int arg1
-- )
-- {
-- return &square_cc;
-- }
-- /* test_functionsfun_attributes_confl_Example_get_square_pp */
-- __attribute__ ((const))
-- signed int (*hs_bindgen_0f31a17bf5ee4e4f (void)) (
-- signed int arg1
-- )
-- {
-- return &square_pp;
-- }
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cp@
foreign import ccall safe "hs_bindgen_5d7162df3a16d8d5" hs_bindgen_5d7162df3a16d8d5_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cp@
hs_bindgen_5d7162df3a16d8d5 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cp@
hs_bindgen_5d7162df3a16d8d5 = \x_0 -> fromFFIType (hs_bindgen_5d7162df3a16d8d5_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_safe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_safe = hs_bindgen_5d7162df3a16d8d5
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pc@
foreign import ccall safe "hs_bindgen_7f240b4e0c2eea24" hs_bindgen_7f240b4e0c2eea24_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pc@
hs_bindgen_7f240b4e0c2eea24 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pc@
hs_bindgen_7f240b4e0c2eea24 = \x_0 -> fromFFIType (hs_bindgen_7f240b4e0c2eea24_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_safe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_safe = hs_bindgen_7f240b4e0c2eea24
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cc@
foreign import ccall safe "hs_bindgen_d32b50f04af10764" hs_bindgen_d32b50f04af10764_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cc@
hs_bindgen_d32b50f04af10764 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_cc@
hs_bindgen_d32b50f04af10764 = \x_0 -> fromFFIType (hs_bindgen_d32b50f04af10764_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_safe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_safe = hs_bindgen_d32b50f04af10764
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pp@
foreign import ccall safe "hs_bindgen_fab6c9860ff1400b" hs_bindgen_fab6c9860ff1400b_base ::
CInt
-> IO CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pp@
hs_bindgen_fab6c9860ff1400b :: CInt -> IO CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Safe_square_pp@
hs_bindgen_fab6c9860ff1400b = \x_0 -> fmap fromFFIType (hs_bindgen_fab6c9860ff1400b_base (toFFIType x_0))
{-|
Marked @__attribute((pure))__@
__C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_safe :: CInt -> IO CInt
{-|
Marked @__attribute((pure))__@
__C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_safe = hs_bindgen_fab6c9860ff1400b
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cp@
foreign import ccall unsafe "hs_bindgen_648d4f0fd0df4c79" hs_bindgen_648d4f0fd0df4c79_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cp@
hs_bindgen_648d4f0fd0df4c79 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cp@
hs_bindgen_648d4f0fd0df4c79 = \x_0 -> fromFFIType (hs_bindgen_648d4f0fd0df4c79_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_unsafe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_unsafe = hs_bindgen_648d4f0fd0df4c79
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pc@
foreign import ccall unsafe "hs_bindgen_632a1e6eb5ceeda7" hs_bindgen_632a1e6eb5ceeda7_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pc@
hs_bindgen_632a1e6eb5ceeda7 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pc@
hs_bindgen_632a1e6eb5ceeda7 = \x_0 -> fromFFIType (hs_bindgen_632a1e6eb5ceeda7_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_unsafe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_unsafe = hs_bindgen_632a1e6eb5ceeda7
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cc@
foreign import ccall unsafe "hs_bindgen_56d75b1ff2482f13" hs_bindgen_56d75b1ff2482f13_base ::
CInt
-> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cc@
hs_bindgen_56d75b1ff2482f13 :: CInt -> CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_cc@
hs_bindgen_56d75b1ff2482f13 = \x_0 -> fromFFIType (hs_bindgen_56d75b1ff2482f13_base (toFFIType x_0))
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_unsafe :: CInt -> CInt
{-|
Marked @__attribute((const))__@
__C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_unsafe = hs_bindgen_56d75b1ff2482f13
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pp@
foreign import ccall unsafe "hs_bindgen_eac2f9645ef29119" hs_bindgen_eac2f9645ef29119_base ::
CInt
-> IO CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pp@
hs_bindgen_eac2f9645ef29119 :: CInt -> IO CInt
-- __unique:__ @test_functionsfun_attributes_confl_Example_Unsafe_square_pp@
hs_bindgen_eac2f9645ef29119 = \x_0 -> fmap fromFFIType (hs_bindgen_eac2f9645ef29119_base (toFFIType x_0))
{-|
Marked @__attribute((pure))__@
__C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_unsafe :: CInt -> IO CInt
{-|
Marked @__attribute((pure))__@
__C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_unsafe = hs_bindgen_eac2f9645ef29119
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cp@
foreign import ccall unsafe "hs_bindgen_9445b7269de35e9e" hs_bindgen_9445b7269de35e9e_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cp@
hs_bindgen_9445b7269de35e9e :: IO (FunPtr (CInt -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cp@
hs_bindgen_9445b7269de35e9e = fmap fromFFIType hs_bindgen_9445b7269de35e9e_base
{-# NOINLINE square_cp_funptr #-}
{-| __C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_funptr :: FunPtr (CInt -> IO CInt)
{-| __C declaration:__ @square_cp@
__defined at:__ @functions\/fun_attributes_conflict.h 9:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cp_funptr = unsafePerformIO hs_bindgen_9445b7269de35e9e
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pc@
foreign import ccall unsafe "hs_bindgen_b0c647124e93645d" hs_bindgen_b0c647124e93645d_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pc@
hs_bindgen_b0c647124e93645d :: IO (FunPtr (CInt -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pc@
hs_bindgen_b0c647124e93645d = fmap fromFFIType hs_bindgen_b0c647124e93645d_base
{-# NOINLINE square_pc_funptr #-}
{-| __C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_funptr :: FunPtr (CInt -> IO CInt)
{-| __C declaration:__ @square_pc@
__defined at:__ @functions\/fun_attributes_conflict.h 11:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pc_funptr = unsafePerformIO hs_bindgen_b0c647124e93645d
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cc@
foreign import ccall unsafe "hs_bindgen_87ee2f018e6d262a" hs_bindgen_87ee2f018e6d262a_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cc@
hs_bindgen_87ee2f018e6d262a :: IO (FunPtr (CInt -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_cc@
hs_bindgen_87ee2f018e6d262a = fmap fromFFIType hs_bindgen_87ee2f018e6d262a_base
{-# NOINLINE square_cc_funptr #-}
{-| __C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_funptr :: FunPtr (CInt -> IO CInt)
{-| __C declaration:__ @square_cc@
__defined at:__ @functions\/fun_attributes_conflict.h 13:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_cc_funptr = unsafePerformIO hs_bindgen_87ee2f018e6d262a
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pp@
foreign import ccall unsafe "hs_bindgen_0f31a17bf5ee4e4f" hs_bindgen_0f31a17bf5ee4e4f_base ::
IO (FunPtr Void)
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pp@
hs_bindgen_0f31a17bf5ee4e4f :: IO (FunPtr (CInt -> IO CInt))
-- __unique:__ @test_functionsfun_attributes_confl_Example_get_square_pp@
hs_bindgen_0f31a17bf5ee4e4f = fmap fromFFIType hs_bindgen_0f31a17bf5ee4e4f_base
{-# NOINLINE square_pp_funptr #-}
{-| __C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_funptr :: FunPtr (CInt -> IO CInt)
{-| __C declaration:__ @square_pp@
__defined at:__ @functions\/fun_attributes_conflict.h 15:5@
__exported by:__ @functions\/fun_attributes_conflict.h@
-}
square_pp_funptr = unsafePerformIO hs_bindgen_0f31a17bf5ee4e4f