diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/binary-with-link-flags')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/binary-with-link-flags/BUILD.bazel | 17 | ||||
-rw-r--r-- | third_party/bazel/rules_haskell/tests/binary-with-link-flags/Main.hs | 3 |
2 files changed, 20 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/binary-with-link-flags/BUILD.bazel b/third_party/bazel/rules_haskell/tests/binary-with-link-flags/BUILD.bazel new file mode 100644 index 000000000000..cf2aba515b69 --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/binary-with-link-flags/BUILD.bazel @@ -0,0 +1,17 @@ +load( + "@io_tweag_rules_haskell//haskell:haskell.bzl", + "haskell_test", +) + +package( + default_testonly = 1, + default_visibility = ["//visibility:public"], +) + +haskell_test( + name = "binary-with-link-flags", + srcs = ["Main.hs"], + compiler_flags = ["-threaded"], + visibility = ["//visibility:public"], + deps = ["//tests/hackage:base"], +) diff --git a/third_party/bazel/rules_haskell/tests/binary-with-link-flags/Main.hs b/third_party/bazel/rules_haskell/tests/binary-with-link-flags/Main.hs new file mode 100644 index 000000000000..de106fe48f9a --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/binary-with-link-flags/Main.hs @@ -0,0 +1,3 @@ +module Main where + +main = return () |