repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
ARCMT
/
dealloc.m.result
blob
fbd9e445d27512f1e714f627d7c18210efde63ec
1
// RUN: %clang_cc1 -triple x86_64-apple-darwin10 -fsyntax-only -fobjc-arc -x objective-c %s.result
2
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fsyntax-only -x objective-c %s > %t
3
// RUN: diff %t %s.result
4
5
@interface A
6
- (id)retain;
7
- (id)autorelease;
8
- (oneway void)release;
9
- (void)dealloc;
10
@end
11
12
void test1(A *a) {
13
}
14
15
@interface Test2 : A
16
- (void) dealloc;
17
@end
18
19
@implementation Test2
20
@end