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
Run DCE after a LoopFlatten test to reduce spurious output [nfc]
[llvm-project.git]
/
clang
/
test
/
ARCMT
/
block_copy_release.m.result
blob
b292b64f17d6bc72bb8977b483f5a85b303acd88
1
// RUN: %clang_cc1 -fblocks -fsyntax-only -fobjc-arc -x objective-c %s.result
2
// RUN: arcmt-test --args -triple x86_64-apple-darwin10 -fblocks -fsyntax-only -x objective-c %s > %t
3
// RUN: diff %t %s.result
4
5
#include "Common.h"
6
7
typedef void (^blk)(int);
8
9
void func(blk b) {
10
blk c = [b copy];
11
}
12
13
void func2(id b) {
14
id c = [b copy];
15
}