1 // RUN: clang-cc -fsyntax-only -verify %s
3 // Don't warn about some common ObjC idioms unless we have -Wparentheses on.
4 // <rdar://problem/7382435>
8 - (id) initWithInt: (int) i;
9 - (void) iterate: (id) coll;
13 @implementation Object
15 if (self = [self init]) {
20 - (id) initWithInt: (int) i {
21 if (self = [self initWithInt: i]) {
26 - (void) iterate: (id) coll {
28 while (cur = [coll nextObject]) {