Files
clang-p2996/lldb/test/lang/objc/objc++/main.mm
Sean Callanan 7457f8d7c9 Recognize Objective-C classes with runtime class
ObjCPlusPlus as Objective-C classes.  Really the
compiler should say they have Objective-C runtime
class, but we should be a little more resilient
(we were refusing to find ivars in those classes
before).

Also added a test case.

llvm-svn: 155515
2012-04-25 01:03:57 +00:00

20 lines
213 B
Plaintext

#include <Foundation/NSObject.h>
@interface F : NSObject
@end
@implementation F
{
@public
int f;
}
@end
int main(int argc, char* argv[])
{
F* f = [F new];
f->f = 3;
return 0; // breakpoint 1
}