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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
2008-08-25-incompatible-cond-expr.m
blob
f285cca094ed9c380973f56bb1adaa8f13b1c9cd
1
// RUN: %clang_cc1 -emit-llvm -o %t %s
2
3
@protocol P0
4
@end
5
@interface A <P0>
6
@end
7
8
id f0(int a, id<P0> x, A* p) {
9
return a ? x : p;
10
}