teak-llvm/lldb/packages/Python/lldbsuite/test/lang/objc/objc-ivar-offsets/main.m
Zachary Turner c432c8f856 Move lldb/test to lldb/packages/Python/lldbsuite/test.
This is the conclusion of an effort to get LLDB's Python code
structured into a bona-fide Python package.  This has a number
of benefits, but most notably the ability to more easily share
Python code between different but related pieces of LLDB's Python
infrastructure (for example, `scripts` can now share code with
`test`).

llvm-svn: 251532
2015-10-28 17:43:26 +00:00

16 lines
300 B
Objective-C

#include "objc-ivar-offsets.h"
int
main ()
{
DerivedClass *mine = [[DerivedClass alloc] init];
mine.backed_int = 1111;
mine.unbacked_int = 2222;
mine.derived_backed_int = 3333;
mine.derived_unbacked_int = 4444;
mine->flag1 = 1;
mine->flag2 = 7;
return 0; // Set breakpoint here.
}