Teach TreeTransform how to transform a pack expansion type into
[clang.git] / test / SemaObjCXX / composite-objc-pointertype.mm
blob0d9a93897656cefb3a7208ed2a656000187ba642
1 // RUN: %clang_cc1 -fsyntax-only -verify %s
3 @interface Foo
4 @end
6 @implementation Foo
7 - (id)test {
8         id bar;
9     Class cl;
10     Foo *f;
12     (void)((bar!= 0) ? bar : 0);
13     (void)((cl != 0) ? cl : 0);
14     (void)((f != 0) ? 0 : f);
15     return (0 == 1) ? 0 : bar;
17 @end