tree-sitter-objc/examples/SemaObjC/stand-alone-implementation.m

13 lines
323 B
Mathematica
Raw Normal View History

2022-04-16 15:58:26 +00:00
// 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