diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/indirect-link/src/MyModule.hs')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/indirect-link/src/MyModule.hs | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/indirect-link/src/MyModule.hs b/third_party/bazel/rules_haskell/tests/indirect-link/src/MyModule.hs new file mode 100644 index 000000000000..4b75cee13989 --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/indirect-link/src/MyModule.hs @@ -0,0 +1,11 @@ +module MyModule where + +foreign import ccall get_thing :: IO Int + +getThing :: IO Int +getThing = get_thing + +foreign import ccall set_thing :: Int -> IO () + +setThing :: Int -> IO () +setThing = set_thing |