about summary refs log tree commit diff
path: root/third_party/bazel/rules_haskell/tests/c2hs/src/Foo
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/bazel/rules_haskell/tests/c2hs/src/Foo')
-rw-r--r--third_party/bazel/rules_haskell/tests/c2hs/src/Foo/Foo.chs6
1 files changed, 6 insertions, 0 deletions
diff --git a/third_party/bazel/rules_haskell/tests/c2hs/src/Foo/Foo.chs b/third_party/bazel/rules_haskell/tests/c2hs/src/Foo/Foo.chs
new file mode 100644
index 000000000000..244f3b2b29ff
--- /dev/null
+++ b/third_party/bazel/rules_haskell/tests/c2hs/src/Foo/Foo.chs
@@ -0,0 +1,6 @@
+module Foo.Foo (foo) where
+
+#include <zlib.h>
+
+foo :: Int
+foo = {# sizeof gz_header_s #}