diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs b/third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs new file mode 100644 index 000000000000..d88f7c93d66a --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/binary-with-lib-dynamic/Main.hs @@ -0,0 +1,7 @@ +module Main where + +import Control.Monad (unless) +import Lib (value) + +main = unless (value == 42) + $ error $ "Incorrect lib value. Got " <> show value |