blob: b936b52b729b1efc59f40055cf8321a1f2f65bd9 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
// RUN: rm -rf %t
// RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype -objcmt-white-list-dir-path=%S/Inputs %s -triple x86_64-apple-darwin11 -migrate -o %t.remap
// RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %s.result
@interface NSObject
+ (id)alloc;
@end
#include "header1.h"
#include "header2.h"
@interface I2(cat)
-(id)initInCat;
@end
@implementation I1
+(instancetype)i1 {}
@end
|