1 // RUN: %clang_cc1 -fsyntax-only -verify %s
4 - Meth; // expected-note{{method definition for 'Meth' not found}} \
5 // expected-note{{method declared here}}
8 @implementation I // expected-warning{{incomplete implementation}}
11 @implementation I(CAT)
12 - Meth {return 0;} // expected-warning {{category is implementing a method which will also be implemented by its primary class}}
15 #pragma GCC diagnostic ignored "-Wincomplete-implementation"
17 - Meth; // expected-note{{method declared here}}
23 @implementation I2(CAT)
24 - Meth {return 0;} // expected-warning {{category is implementing a method which will also be implemented by its primary class}}