about summary refs log blame commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-linkstatic-flag/Main.hs
blob: 7836c2220277697e326c64819f3f3ca2afcb2dd9 (plain) (tree)
1
2
3
4
5
6
7
8
9








                                         
{-# LANGUAGE ForeignFunctionInterface #-}

module Main (main) where

import qualified HsLib

foreign import ccall "value" value :: Int

main = print $ HsLib.value + value