aboutsummaryrefslogtreecommitdiff
path: root/test/ARCMT/whitelisted/objcmt-with-whitelist.m
blob: bef82c8667d9c7ab197b51cc20bb1ec158d53998 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// RUN: rm -rf %t
// RUN: %clang_cc1 -objcmt-migrate-readwrite-property -objcmt-migrate-instancetype %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/header2.h.result
// 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

@interface NSObject
+ (id)alloc;
@end

#include "header1.h"
#include "header2.h"