blob: dff2866020d553121a04ffb450c2538953f1a7d1 [file] [log] [blame]
Fariborz Jahanian390d50a2007-10-17 16:58:11 +00001// RUN: clang -fsyntax-only -verify %s
2
Fariborz Jahanian390d50a2007-10-17 16:58:11 +00003@protocol fproto;
4
5@protocol p1
6@end
7
8@class cl;
9
10int main()
11{
12 Protocol *proto = @protocol(p1);
13 Protocol *fproto = @protocol(fproto);
14}
15