/* This is a test for a GNU Objective-C Runtime library bug. */ /* { dg-do run } */ /* { dg-skip-if "" { *-*-* } { "-fnext-runtime" } { "" } } */ #include #include @protocol a - aMethod; @end @protocol b - bMethod; @end int main (int argc, char **argv) { if ([@protocol(b) descriptionForInstanceMethod: @selector(aMethod)] == NULL) abort (); return 0; }