about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/package-name/Lib.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/package-name/Lib.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/package-name/Lib.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/package-name/Lib.hs b/third_party/bazel/rules_haskell/tests/package-name/Lib.hs
new file mode 100644
index 0000000000..e5e06b414b
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/package-name/Lib.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE CPP #-}
+module Lib (foo, libPackageKey) where
+
+foo :: Integer
+foo = 42
+
+libPackageKey :: String
+libPackageKey = CURRENT_PACKAGE_KEY