repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git]
/
clang
/
test
/
SemaObjC
/
protocol-expr-1.m
blob
cefe9a9f5449c32e9ead418b13eb8efe6edc2b54
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
// expected-no-diagnostics
3
4
@protocol fproto @end
5
6
@protocol p1
7
@end
8
9
@class cl;
10
11
int main(void)
12
{
13
Protocol *proto = @protocol(p1);
14
Protocol *fproto = @protocol(fproto);
15
}
16