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