summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/hsc/Flags.hsc')
-rw-r--r--third_party/bazel/rules_haskell/tests/hsc/Flags.hsc8
1 files changed, 8 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc b/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc
new file mode 100644
index 000000000000..b090df576ab4
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/hsc/Flags.hsc
@@ -0,0 +1,8 @@
+module Flags (hscFlags) where
+
+#ifdef THIS_IS_TRUE
+#ifdef THIS_TOO_IS_TRUE
+hscFlags :: String
+hscFlags = "hscFlags"
+#endif
+#endif