2009-12-16 04:14:24 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -verify %s
|
2009-08-23 06:27:17 +08:00
|
|
|
|
|
|
|
@interface PBXBuildSettingsDictionary
|
|
|
|
{
|
|
|
|
int i;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@interface XCConditionalBuildSettingsDictionary : PBXBuildSettingsDictionary
|
|
|
|
{
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
@implementation PBXBuildSettingsDictionary
|
|
|
|
|
|
|
|
- (XCConditionalBuildSettingsDictionary *)conditionalDictionaryForConditionSet
|
|
|
|
{
|
|
|
|
return i ? self : (id)0;
|
|
|
|
}
|
|
|
|
|
|
|
|
- (XCConditionalBuildSettingsDictionary *)conditionalDictionaryForConditionSet2
|
|
|
|
{
|
|
|
|
return i ? (id)0 : self;
|
|
|
|
}
|
|
|
|
@end
|
|
|
|
|
|
|
|
|