about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs10
1 files changed, 0 insertions, 10 deletions
diff --git a/third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs b/third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs
deleted file mode 100644
index 6ebec6b460..0000000000
--- a/third_party/bazel/rules_haskell/tests/c-compiles/Lib.hs
+++ /dev/null
@@ -1,10 +0,0 @@
-{-# LANGUAGE ForeignFunctionInterface #-}
-module Lib (ten) where
-
-import Foreign.C.Types (CInt(..))
-
-foreign import ccall "c_add_one"
-  c_add_one :: CInt -> CInt
-
-ten :: Int
-ten = fromIntegral (c_add_one 9)