summaryrefslogtreecommitdiff
path: root/test/ARCMT/objcmt-property.m.result
blob: 87b71e1f4f1f69575c77045648a99d2ca3b13eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// RUN: rm -rf %t
// RUN: %clang_cc1 -objcmt-migrate-literals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -fobjc-runtime-has-weak -fobjc-arc -fobjc-default-synthesize-properties -triple x86_64-apple-darwin11
// RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c -fobjc-runtime-has-weak -fobjc-arc -fobjc-default-synthesize-properties %s.result

@class NSString;
@interface NSObject @end

@interface I : NSObject {
  int ivarVal;
}

@property(weak) NSString *__weak WeakProp;

@property(strong) NSString * StrongProp;

@end

@implementation I
@end