summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs b/third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs
new file mode 100644
index 000000000000..82e4ec72e248
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/version-macros/MainC2hs.hs
@@ -0,0 +1,7 @@
+module Main where
+
+import qualified C2hsLib
+
+main :: IO ()
+main = do
+  C2hsLib.check