2 // RUN: %clang_cc1 -objcmt-migrate-annotation -mt-migrate-directory %t %s -x objective-c -triple x86_64-apple-darwin11
3 // RUN: c-arcmt-test -mt-migrate-directory %t | arcmt-test -verify-transformed-files %s.result
4 // RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s.result
7 #define DEPRECATED __attribute__((deprecated))
13 @interface NSArray (NSDraggingSourceDeprecated)
15 /* This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:range: instead.
17 - (void)getObjects:(id __unsafe_unretained [])objects;
18 - (void)dep_getObjects:(id __unsafe_unretained [])dep_objects DEPRECATED;
22 @interface NSArray (NSDeprecated)
24 /* This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:range: instead.
26 - (void)dep_getObjects:(id __unsafe_unretained [])dep_objects DEPRECATED;
27 - (void)getObjects:(id __unsafe_unretained [])objects;
29 @property int P2 DEPRECATED;
32 @interface NSArray (DraggingSourceDeprecated)
34 /* This method is unsafe because it could potentially cause buffer overruns. You should use -getObjects:range: instead.
36 - (void)getObjects:(id __unsafe_unretained [])objects;
37 - (void)dep_getObjects:(id __unsafe_unretained [])dep_objects DEPRECATED;
39 @property int P2 DEPRECATED;
43 @interface NSArray (Deprecated)
44 - (void)getObjects:(id __unsafe_unretained [])objects;
45 - (void)dep_getObjects:(id __unsafe_unretained [])dep_objects DEPRECATED;
47 @property int P2 DEPRECATED;