xref: /minix3/external/bsd/llvm/dist/clang/test/SemaObjC/stand-alone-implementation.m (revision b5e2faaaaf60a8b9a02f8d72f64caa56a87eb312)
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