1f51a89d39
These were ignored by git accidentally. We want ALL OF THEM since they all came in the llvm/clang source distribution.
27 lines
536 B
Objective-C
27 lines
536 B
Objective-C
// RUN: %clang_cc1 -triple i386-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
|
|
// RUN: %clang_cc1 -x objective-c++ -triple i386-apple-darwin9 -fobjc-fragile-abi -fobjc-gc -emit-llvm -o %t %s
|
|
|
|
@interface PBXTarget
|
|
{
|
|
|
|
PBXTarget * __weak _lastKnownTarget;
|
|
PBXTarget * __weak _KnownTarget;
|
|
PBXTarget * result;
|
|
}
|
|
- Meth;
|
|
@end
|
|
|
|
extern void foo();
|
|
@implementation PBXTarget
|
|
- Meth {
|
|
if (_lastKnownTarget != result)
|
|
foo();
|
|
if (result != _lastKnownTarget)
|
|
foo();
|
|
|
|
if (_lastKnownTarget != _KnownTarget)
|
|
foo();
|
|
}
|
|
|
|
@end
|