about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs')
-rw-r--r--third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs b/third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs
new file mode 100644
index 0000000000..b3f0c04492
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/extra-source-files/Foo.hs
@@ -0,0 +1,8 @@
+{-# LANGUAGE TemplateHaskell #-}
+
+module Foo (foo) where
+
+import FooTH (embedFile)
+
+foo :: String
+foo = $(embedFile "tests/extra-source-files/file.txt") ++ "!"