Sign in
llvm
/
clang
/
3b8d539899d6651504edfbaaa2ea68eb9d7aa6ac
/
.
/
test
/
SemaObjC
/
protocol-expr-1.m
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
);
}