1 // RUN: rm -rf %t 2 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -x objective-c %S/Common.h -emit-pch -o %t.pch 3 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -objcmt-migrate-literals -objcmt-migrate-subscripting -mt-migrate-directory %t %s -x objective-c -include-pch %t.pch 4 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result 5 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result -include-pch %t.pch 6 7 @interface NSNumber : NSObject 8 @end 9 10 @interface NSNumber (NSNumberCreation) 11 + (NSNumber *)numberWithInt:(int)value; 12 @end 13 14 void foo() { 15 NSNumber *n = @1; 16 } 17