1 /* This is a test for a GNU Objective-C Runtime library bug. */
3 /* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */
5 #include <objc/runtime.h>
6 #include <objc/Protocol.h>
19 int main (int argc, char **argv)
21 struct objc_method_description m;
22 m = protocol_getMethodDescription (@protocol(b), @selector(aMethod), YES, YES);
27 m = protocol_getMethodDescription (@protocol(a), @selector(aMethod), YES, YES);