summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/hsc/Foo.hsc')
-rw-r--r--third_party/bazel/rules_haskell/tests/hsc/Foo.hsc8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc b/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc
new file mode 100644
index 000000000000..2cb726e18110
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/hsc/Foo.hsc
@@ -0,0 +1,8 @@
+module Foo (hscFiredFoo) where
+
+#if __GLASGOW_HASKELL__ >= 700
+#ifndef _INTERNAL_HSC_DO_NOT_DEFINE_ME
+hscFiredFoo :: String
+hscFiredFoo = "hscFiredFoo"
+#endif
+#endif