about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-linkstatic-flag/Main.hs
blob: 7836c2220277697e326c64819f3f3ca2afcb2dd9 (plain) (blame)
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