You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
301 B
Objective-C
18 lines
301 B
Objective-C
#include "Test.h"
|
|
|
|
@protocol P
|
|
- (void)someMethod;
|
|
@end
|
|
|
|
// Defined in another compilation unit. Returns @protocol(P).
|
|
Protocol *getProtocol(void);
|
|
|
|
int main(void)
|
|
{
|
|
//Protocol *p1 = @protocol(P);
|
|
Protocol *p2 = getProtocol();
|
|
//assert(protocol_isEqual(p1, p2));
|
|
//assert(p1 == p2);
|
|
return 0;
|
|
}
|