summaryrefslogtreecommitdiff
path: root/tests/headers/objc_inheritance.h
diff options
context:
space:
mode:
authorSebastian Imlay <sebastian.imlay@gmail.com>2020-02-25 11:00:58 -0800
committerSebastian Imlay <sebastian.imlay@gmail.com>2020-05-11 17:05:35 -0700
commit1f324cabfc24042903002e1f2cf1530ee8818942 (patch)
tree169787cd659bcd8c41f801e5342850c62fa00b79 /tests/headers/objc_inheritance.h
parentee2f289a2d57e4d67fe38d060f0c93e9ab866183 (diff)
Added inheritance to objective-c support.
Diffstat (limited to 'tests/headers/objc_inheritance.h')
-rw-r--r--tests/headers/objc_inheritance.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/headers/objc_inheritance.h b/tests/headers/objc_inheritance.h
new file mode 100644
index 00000000..8f96e45b
--- /dev/null
+++ b/tests/headers/objc_inheritance.h
@@ -0,0 +1,11 @@
+// bindgen-flags: --objc-extern-crate -- -x objective-c
+// bindgen-osx-only
+
+@interface Foo
+@end
+
+@interface Bar: Foo
+@end
+
+@interface Baz: Bar
+@end