about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/indirect-link/cbits
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/indirect-link/cbits')
-rw-r--r--third_party/bazel/rules_haskell/tests/indirect-link/cbits/impl.c9
-rw-r--r--third_party/bazel/rules_haskell/tests/indirect-link/cbits/intf.c10
2 files changed, 0 insertions, 19 deletions
diff --git a/third_party/bazel/rules_haskell/tests/indirect-link/cbits/impl.c b/third_party/bazel/rules_haskell/tests/indirect-link/cbits/impl.c
deleted file mode 100644
index 666ce43962a3..000000000000
--- a/third_party/bazel/rules_haskell/tests/indirect-link/cbits/impl.c
+++ /dev/null
@@ -1,9 +0,0 @@
-static int thing;
-
-int real_get_thing(void) {
-  return thing;
-}
-
-void real_set_thing(int value) {
-  thing = value;
-}
diff --git a/third_party/bazel/rules_haskell/tests/indirect-link/cbits/intf.c b/third_party/bazel/rules_haskell/tests/indirect-link/cbits/intf.c
deleted file mode 100644
index f7a8f5e9f2e8..000000000000
--- a/third_party/bazel/rules_haskell/tests/indirect-link/cbits/intf.c
+++ /dev/null
@@ -1,10 +0,0 @@
-extern int real_get_thing(void);
-extern void real_set_thing(int value);
-
-int get_thing(void) {
-  return real_get_thing();
-}
-
-void set_thing(int value) {
-  real_set_thing(value);
-}