Stephen Hines | 651f13c | 2014-04-23 16:59:28 -0700 | [diff] [blame^] | 1 | // RUN: rm -rf %t |
2 | // 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 | ||||
3 | // RUN: c-arcmt-test %t.remap | arcmt-test -verify-transformed-files %S/header1.h.result %s.result | ||||
4 | |||||
5 | @interface NSObject | ||||
6 | + (id)alloc; | ||||
7 | @end | ||||
8 | |||||
9 | #include "header1.h" | ||||
10 | #include "header2.h" | ||||
11 | |||||
12 | @interface I2(cat) | ||||
13 | -(id)initInCat; | ||||
14 | @end | ||||
15 | |||||
16 | @implementation I1 | ||||
17 | +(id)i1 {} | ||||
18 | @end |