2011-10-02 09:16:38 +08:00
|
|
|
// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -x objective-c %s.result
|
2011-07-14 08:17:54 +08:00
|
|
|
// RUN: cp %s %t
|
2011-10-02 09:16:38 +08:00
|
|
|
// RUN: %clang_cc1 -arcmt-modify -fsyntax-only -fobjc-arc -x objective-c %t
|
2011-07-14 08:17:54 +08:00
|
|
|
// RUN: diff %t %s.result
|
|
|
|
// RUN: rm %t
|
|
|
|
|
|
|
|
@protocol NSObject
|
|
|
|
- (oneway void)release;
|
|
|
|
@end
|
|
|
|
|
|
|
|
void test1(id p) {
|
|
|
|
}
|