about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs9
1 files changed, 9 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs b/third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs
new file mode 100644
index 0000000000..0b3d188d73
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/indirect-link/test/Main.hs
@@ -0,0 +1,9 @@
+module Main (main) where
+
+import qualified MyModule
+
+main :: IO ()
+main = do
+  print =<< MyModule.getThing
+  MyModule.setThing 123
+  print =<< MyModule.getThing