blob: fe01d1d47a8d98c5242b30e92dbbc44d5624af51 [file] [log] [blame]
Daniel Dunbara5728872009-12-15 20:14:24 +00001// RUN: %clang_cc1 -fsyntax-only -verify %s
Fariborz Jahanian390d50a2007-10-17 16:58:11 +00002
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