blob: fe01d1d47a8d98c5242b30e92dbbc44d5624af51 [file] [log] [blame]
// RUN: %clang_cc1 -fsyntax-only -verify %s
@protocol fproto;
@protocol p1
@end
@class cl;
int main()
{
Protocol *proto = @protocol(p1);
Protocol *fproto = @protocol(fproto);
}