tree-sitter-objc/examples/SemaObjC/comptypes-8.m

14 lines
155 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@protocol MyProtocol
@end
id<MyProtocol> obj_p = 0;
int main()
{
obj_p = 0;
}