summaryrefslogtreecommitdiff
path: root/tests/headers/objc_blocklist.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/headers/objc_blocklist.h')
-rw-r--r--tests/headers/objc_blocklist.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/headers/objc_blocklist.h b/tests/headers/objc_blocklist.h
new file mode 100644
index 00000000..605f2993
--- /dev/null
+++ b/tests/headers/objc_blocklist.h
@@ -0,0 +1,9 @@
+// bindgen-flags: --objc-extern-crate --blocklist-item ISomeClass::class_ambiguouslyBlockedMethod --blocklist-item ISomeClass::blockedInstanceMethod -- -x objective-c
+// bindgen-osx-only
+
+@interface SomeClass
++ (void)ambiguouslyBlockedMethod;
+- (void)ambiguouslyBlockedMethod;
+- (void)instanceMethod;
+- (void)blockedInstanceMethod;
+@end