llvm-project/clang/test/PCH/objcxx-ivar-class.h
John McCall 6a4fa52b37 The emission of an Objective-C++'s class .cxx_destruct method should be
conditioned on whether it has any destructible ivars, not on whether
it has any non-trivial class-object initializers.

llvm-svn: 128074
2011-03-22 07:05:39 +00:00

17 lines
209 B
Objective-C

struct S {
S();
S(const S&);
~S();
S& operator= (const S&);
};
@interface C {
S position;
}
@property(assign, nonatomic) S position;
@end
@implementation C
@synthesize position;
@end