Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
clang
/
63bc186d6ac0b44ba4ec6fccb5f471b05c79b666
/
.
/
test
/
SemaObjC
/
protocol-expr-1.m
blob: 94a0d9e3e8b5955a47ef07cf0ad2feb13f74c4e2 [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify %s
// expected-no-diagnostics
@protocol
fproto
;
@protocol
p1
@end
@class
cl
;
int
main
()
{
Protocol
*
proto
=
@protocol
(
p1
);
Protocol
*
fproto
=
@protocol
(
fproto
);
}