1// RUN: %clang_cc1 -fsyntax-only -verify %s
2// expected-no-diagnostics
3
4@protocol fproto;
5
6@protocol p1
7@end
8
9@class cl;
10
11int main()
12{
13	Protocol *proto = @protocol(p1);
14        Protocol *fproto = @protocol(fproto);
15}
16
17