repo.or.cz
/
clang.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Teach TreeTransform how to transform a pack expansion type into
[clang.git]
/
test
/
SemaObjCXX
/
composite-objc-pointertype.mm
blob
0d9a93897656cefb3a7208ed2a656000187ba642
1
// RUN: %clang_cc1 -fsyntax-only -verify %s
2
3
@interface Foo
4
@end
5
6
@implementation Foo
7
- (id)test {
8
id bar;
9
Class cl;
10
Foo *f;
11
12
(void)((bar!= 0) ? bar : 0);
13
(void)((cl != 0) ? cl : 0);
14
(void)((f != 0) ? 0 : f);
15
return (0 == 1) ? 0 : bar;
16
}
17
@end
18