Sign in
llvm
/
llvm-project
/
clang
/
refs/heads/main
/
.
/
test
/
SemaObjC
/
direct-synthesized-ivar-access.m
blob: 5b7203f98a03b389814e5b817ad7f18448f4eb7d [
file
] [
log
] [
blame
]
// RUN: %clang_cc1 -fsyntax-only -verify -Wno-objc-root-class %s
// expected-no-diagnostics
@interface
I
{
}
@property
int
IVAR
;
-
(
int
)
OK
;
@end
@implementation
I
-
(
int
)
Meth
{
return
_IVAR
;
}
-
(
int
)
OK
{
return
self
.
IVAR
;
}
@end