Sign in
llvm
/
clang
/
03bb1778b664159e449bc6c9c50256dee4152a83
/
.
/
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
);
}