Sign in
cobalt
/
cobalt
/
63c7ad499be49ef959b3b1c5ea3f48491aa033d3
/
.
/
src
/
third_party
/
llvm-project
/
clang
/
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
);
}