]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - test/ARCMT/with-arc-mode-modify.m.result
Vendor import of clang release_40 branch r292951:
[FreeBSD/FreeBSD.git] / test / ARCMT / with-arc-mode-modify.m.result
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
11 void test1(id p) {
12 }