[arcmt] Remove test/ARCMT/with-working-dir.m which fails at windows hosts and is not that useful

in the first place. http://llvm.org/PR10312.

llvm-svn: 134845
This commit is contained in:
Argyrios Kyrtzidis 2011-07-09 20:01:02 +00:00
parent 7fbd97f641
commit d8d3c1b8f3
2 changed files with 0 additions and 90 deletions

View File

@ -1,47 +0,0 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fobjc-nonfragile-abi -working-directory %S with-working-dir.m > %t
// RUN: diff %t %s.result
typedef int BOOL;
id IhaveSideEffect();
@protocol NSObject
- (BOOL)isEqual:(id)object;
- (id)retain;
- (oneway void)release;
- (id)something;
@end
@interface NSObject <NSObject> {}
@end
@interface Foo : NSObject {
id bar;
}
@property (retain) id bar;
-(id)test:(id)obj;
@end
@implementation Foo
@synthesize bar;
-(id)test:(id)obj {
id x = self.bar;
[x retain];
self.bar = obj;
if (obj)
[obj retain];
[IhaveSideEffect() retain];
[[self something] retain];
[[self retain] something];
// do stuff with x;
[x release];
return [self retain];
}
@end

View File

@ -1,43 +0,0 @@
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result
// RUN: arcmt-test --args -triple x86_64-apple-macosx10.6 -fobjc-nonfragile-abi -working-directory %S with-working-dir.m > %t
// RUN: diff %t %s.result
typedef int BOOL;
id IhaveSideEffect();
@protocol NSObject
- (BOOL)isEqual:(id)object;
- (id)retain;
- (oneway void)release;
- (id)something;
@end
@interface NSObject <NSObject> {}
@end
@interface Foo : NSObject {
id bar;
}
@property (retain) id bar;
-(id)test:(id)obj;
@end
@implementation Foo
@synthesize bar;
-(id)test:(id)obj {
id x = self.bar;
self.bar = obj;
IhaveSideEffect();
[self something];
[self something];
// do stuff with x;
return self;
}
@end