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