Files
llvm-project/clang/test/SemaObjC/protocol-expr-1.m
Chris Lattner 89026888ef move all objc sema tests into a new SemaObjC directory. Next step is to
remove the objc- prefix from the tests that use it.

llvm-svn: 54084
2008-07-26 00:57:24 +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);
}