[clang] Implement lifetime analysis for lifetime_capture_by(X) (#115921)
[llvm-project.git] / clang / test / SemaObjC / stand-alone-implementation.m
blob8ab4f5a66114c4aaa0f5b02897b05aa98df399a2
1 // RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
2 // Allow injection of ivars into implementation's implicit class.
4 @implementation INTFSTANDALONE // expected-warning {{cannot find interface declaration for 'INTFSTANDALONE'}}
6   id IVAR1;
7   id IVAR2;
9 - (id) Meth { return IVAR1; }
10 @end