summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs b/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs
new file mode 100644
index 000000000000..6a02bb9fc8ec
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/binary-exe-path/Main.hs
@@ -0,0 +1,5 @@
+module Main where
+
+import System.Environment
+
+main = getExecutablePath >>= putStrLn