about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/cpp_macro_conflict
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
committerVincent Ambo <tazjin@google.com>2019-08-15T15·11+0100
commit128875b501bc2989617ae553317b80faa556d752 (patch)
tree9b32d12123801179ebe900980556486ad4803482 /third_party/bazel/rules_haskell/tests/cpp_macro_conflict
parenta20daf87265a62b494d67f86d4a5199f14394973 (diff)
chore: Remove remaining Bazel-related files r/31
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/cpp_macro_conflict')
-rw-r--r--third_party/bazel/rules_haskell/tests/cpp_macro_conflict/BUILD.bazel36
-rw-r--r--third_party/bazel/rules_haskell/tests/cpp_macro_conflict/Main.hs4
-rw-r--r--third_party/bazel/rules_haskell/tests/cpp_macro_conflict/src/BS.hs1
3 files changed, 0 insertions, 41 deletions
diff --git a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/BUILD.bazel b/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/BUILD.bazel
deleted file mode 100644
index af8848a6eea7..000000000000
--- a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/BUILD.bazel
+++ /dev/null
@@ -1,36 +0,0 @@
-load(
-    "@io_tweag_rules_haskell//haskell:haskell.bzl",
-    "haskell_library",
-    "haskell_test",
-)
-
-package(default_testonly = 1)
-
-# empty library with package name "bytestring"
-haskell_library(
-    name = "bytestring",
-    srcs = ["src/BS.hs"],
-    deps = ["//tests/hackage:base"],
-)
-
-# This depends on two packages "bytestring"
-# There should be no CPP macro conflict
-haskell_test(
-    name = "macro_conflict",
-    srcs = ["Main.hs"],
-    compiler_flags = [
-        "-XCPP",
-        "-Werror",
-    ] + select({
-        # clang on darwin fails because of unused command line argument, it fails because of -Werror
-        "@bazel_tools//src/conditions:darwin": [
-            "-optP-Wno-unused-command-line-argument",
-        ],
-        "//conditions:default": [],
-    }),
-    deps = [
-        ":bytestring",
-        "//tests/hackage:base",
-        "//tests/hackage:bytestring",
-    ],
-)
diff --git a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/Main.hs b/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/Main.hs
deleted file mode 100644
index f5a27e6a7efb..000000000000
--- a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/Main.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-import qualified Data.ByteString
-import BS
-
-main = putStrLn "hello"
diff --git a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/src/BS.hs b/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/src/BS.hs
deleted file mode 100644
index 437b7e5f72cd..000000000000
--- a/third_party/bazel/rules_haskell/tests/cpp_macro_conflict/src/BS.hs
+++ /dev/null
@@ -1 +0,0 @@
-module BS where