about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/c-compiles/Main.hs
blob: 5fc7b957c84b4c26d6543959b3fc7110bdc084d4 (plain) (blame)
1
2
3
4
5
6
7
8
module Main (main) where

import Control.Monad (unless)
import Lib           (ten)

main :: IO ()
main = unless (ten == 10)
    $ error $ "Incorrect lib value. Got " <> show ten