diff options
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/repl-flags/CompilerFlags.hs')
-rw-r--r-- | third_party/bazel/rules_haskell/tests/repl-flags/CompilerFlags.hs | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/repl-flags/CompilerFlags.hs b/third_party/bazel/rules_haskell/tests/repl-flags/CompilerFlags.hs new file mode 100644 index 000000000000..5470fe11b57c --- /dev/null +++ b/third_party/bazel/rules_haskell/tests/repl-flags/CompilerFlags.hs @@ -0,0 +1,10 @@ +{-# LANGUAGE CPP #-} + +module Main where + +import Data.ByteString + +#ifdef TESTS_TOOLCHAIN_COMPILER_FLAGS +main = print ("hello" :: ByteString) +#endif + |