stand-alone-implementation.m
323 Bytes
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// radar 7547942
// Allow injection of ivars into implementation's implicit class.
@implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
{
id IVAR1;
id IVAR2;
}
- (id) Meth { return IVAR1; }
@end