1// RUN: %clang_cc1 -fsyntax-only -fobjc-arc -x objective-c %s.result
2// RUN: cp %s %t
3// RUN: %clang_cc1 -arcmt-modify -fsyntax-only -fobjc-arc -x objective-c %t
4// RUN: diff %t %s.result
5// RUN: rm %t
6
7@protocol NSObject
8- (oneway void)release;
9@end
10
11void test1(id p) {
12  [p release];
13}
14