// RUN: %clang_cc1 -Wmissing-method-return-type -fsyntax-only -verify -Wno-objc-root-class %s
// rdar://9615045
@interfaceI- initWithFoo:(id)foo;// expected-warning {{method has no return type specified; defaults to 'id'}}
@end@implementationI- initWithFoo:(id)foo{return0;}// expected-warning {{method has no return type specified; defaults to 'id'}}
@end