Files
clang-p2996/clang/test/Sema/protocol-expr-1.m
Fariborz Jahanian a32aaefadc Implementation of AST for @protocol expression.
llvm-svn: 43075
2007-10-17 16:58:11 +00:00

18 lines
222 B
Objective-C

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