about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/data/ourclibrary.c
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/data/ourclibrary.c')
-rw-r--r--third_party/bazel/rules_haskell/tests/data/ourclibrary.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/data/ourclibrary.c b/third_party/bazel/rules_haskell/tests/data/ourclibrary.c
new file mode 100644
index 000000000000..587d26ba28aa
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/data/ourclibrary.c
@@ -0,0 +1,5 @@
+#include <stdint.h>
+
+int32_t c_add_one(int32_t x) {
+  return 1 + x;
+}