1 // RUN: %clang_cc1 -fsyntax-only -verify -Wparentheses %s
3 // Don't warn about some common ObjC idioms unless we have -Widiomatic-parentheses 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]) {