summaryrefslogtreecommitdiff
path: root/libbindgen/tests/headers/func_ptr_in_struct.h
diff options
context:
space:
mode:
Diffstat (limited to 'libbindgen/tests/headers/func_ptr_in_struct.h')
-rw-r--r--libbindgen/tests/headers/func_ptr_in_struct.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libbindgen/tests/headers/func_ptr_in_struct.h b/libbindgen/tests/headers/func_ptr_in_struct.h
new file mode 100644
index 00000000..988db5b3
--- /dev/null
+++ b/libbindgen/tests/headers/func_ptr_in_struct.h
@@ -0,0 +1,6 @@
+
+enum baz;
+
+struct Foo {
+ enum baz (*bar) (int x, int y);
+};