xref: /aosp_15_r20/external/clang/test/SemaObjC/stand-alone-implementation.m (revision 67e74705e28f6214e480b399dd47ea732279e315)
1// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2// radar 7547942
3// Allow injection of ivars into implementation's implicit class.
4
5@implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
6{
7  id IVAR1;
8  id IVAR2;
9}
10- (id) Meth { return IVAR1; }
11@end
12
13