1@interface RootObject
2@end
3
4@interface BasicClass : RootObject {
5 int _foo;
6 char _boolean;
7}
8
9@property(nonatomic, assign) int bar;
10@property(atomic, retain) id objectField;
11@property(nonatomic, assign) id delegate;
12
13- (void)someMethod;
14@end
15
16@implementation BasicClass
17
18@synthesize bar = _bar;
19@synthesize objectField = _objectField;
20@synthesize delegate = _delegate;
21
22- (void)someMethod {
23 int value = self.bar;
24 _foo = (_boolean != 0) ? self.bar : [self.objectField bar];
25 [self setBar:value];
26 id obj = self.objectField;
27}
28@end
29
30

source code of clang/tools/clang-fuzzer/corpus_examples/objc/BasicClass.m