mirror of
https://github.com/opnsense/src.git
synced 2026-02-28 04:10:49 -05:00
24 lines
399 B
Objective-C
24 lines
399 B
Objective-C
// RUN: clang-cc -triple i386-apple-darwin9 -fnext-runtime -fobjc-gc -emit-llvm -o %t %s
|
|
|
|
@interface PBXTarget
|
|
{
|
|
|
|
PBXTarget * __weak _lastKnownTarget;
|
|
PBXTarget * __weak _KnownTarget;
|
|
PBXTarget * result;
|
|
}
|
|
- Meth;
|
|
@end
|
|
|
|
@implementation PBXTarget
|
|
- Meth {
|
|
if (_lastKnownTarget != result)
|
|
foo();
|
|
if (result != _lastKnownTarget)
|
|
foo();
|
|
|
|
if (_lastKnownTarget != _KnownTarget)
|
|
foo();
|
|
}
|
|
|
|
@end
|