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
Add PR check to suggest alternatives to using undef (#118506)
[llvm-project.git]
/
clang
/
test
/
Parser
/
objc-alias-printing.m
blob
0f76ec36748377a2b00346bbd56bac28efa02025
1
// RUN: %clang_cc1 -ast-print %s
2
3
@protocol P1 @end
4
@protocol P2 @end
5
6
@interface INTF @end
7
8
@compatibility_alias alias INTF;
9
10
11
int foo (void)
12
{
13
INTF *pi;
14
INTF<P2,P1> *pi2;
15
alias *p;
16
alias<P1,P2> *p2;
17
return pi2 == p2;
18
}