Files
clang-p2996/clang/test/Sema/protocol-expr-1.m
Fariborz Jahanian 2bbd03a755 Patch to implement "Protocol" as a built-in type declared as
"@class Protocol;"

llvm-svn: 44670
2007-12-07 00:18:54 +00:00

16 lines
187 B
Objective-C

// RUN: clang -fsyntax-only -verify %s
@protocol fproto;
@protocol p1
@end
@class cl;
int main()
{
Protocol *proto = @protocol(p1);
Protocol *fproto = @protocol(fproto);
}