freebsd-skq/test/SemaObjC/stand-alone-implementation.m
2010-03-03 17:28:16 +00:00

13 lines
302 B
Objective-C

// RUN: %clang_cc1 -fsyntax-only -verify %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