]>
Commit | Line | Data |
---|---|---|
13ba007e A |
1 | // |
2 | // ARCBase.m | |
3 | // TestARCLayouts | |
4 | // | |
5 | // Created by Patrick Beard on 3/8/11. | |
6 | // Copyright 2011 __MyCompanyName__. All rights reserved. | |
7 | // | |
8 | ||
9 | #import "ARCBase.h" | |
10 | ||
11 | // ARCMisalign->misalign1 and ARCBase->misalign2 together cause | |
12 | // ARCBase's instanceStart to be misaligned, which exercises handling | |
13 | // of storage that is not represented in the class's ivar layout bitmaps. | |
14 | ||
15 | @implementation ARCMisalign | |
16 | @end | |
17 | ||
18 | @interface ARCBase () { | |
19 | @private | |
20 | char misalign2; | |
21 | long number; | |
22 | id object; | |
23 | void *pointer; | |
24 | __weak id delegate; | |
25 | } | |
26 | @end | |
27 | ||
28 | @implementation ARCBase | |
29 | @synthesize number, object, pointer, delegate; | |
30 | @end |