Argyrios Kyrtzidis | a944b12 | 2011-07-14 00:17:54 +0000 | [diff] [blame] | 1 | // RUN: %clang_cc1 -fobjc-nonfragile-abi -fsyntax-only -fobjc-arc -x objective-c %s.result |
2 | // RUN: cp %s %t | ||||
3 | // RUN: %clang_cc1 -arcmt-modify -fobjc-nonfragile-abi -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 | |||||
11 | void test1(id p) { | ||||
12 | [p release]; | ||||
13 | } |