aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/atautorelease.m.result
diff options
context:
space:
mode:
Diffstat (limited to 'test/ARCMT/atautorelease.m.result')
-rw-r--r--test/ARCMT/atautorelease.m.result18
1 files changed, 16 insertions, 2 deletions
diff --git a/test/ARCMT/atautorelease.m.result b/test/ARCMT/atautorelease.m.result
index ccce1bd87570..e24339a3b9e3 100644
--- a/test/ARCMT/atautorelease.m.result
+++ b/test/ARCMT/atautorelease.m.result
@@ -1,5 +1,5 @@
-// 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-darwin10 -fobjc-nonfragile-abi -fsyntax-only -x objective-c %s > %t
+// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
+// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
// RUN: diff %t %s.result
#include "Common.h"
@@ -44,3 +44,17 @@ int main2(int argc, char *argv[]) {
return result;
}
}
+
+@interface Foo : NSObject
+@property (unsafe_unretained) id myProp;
+@end
+
+@implementation Foo
+@synthesize myProp;
+
+-(void)test:(id)p {
+ @autoreleasepool {
+ }
+ self.myProp = p;
+}
+@end