repo.or.cz
/
llvm-project.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git]
/
clang
/
test
/
CodeGenObjC
/
message-arrays.m
blob
3e8697fc9376058cd2ab0d9fa0decd6df9735ec4
1
// RUN: %clang_cc1 -emit-llvm -o %t %s
2
3
void f0(id a) {
4
// This should have an implicit cast
5
[ a print: "hello" ];
6
}
7
8
@interface A
9
-(void) m: (int) arg0, ...;
10
@end
11
12
int f1(A *a) {
13
// This should also get an implicit cast (for the vararg)
14
[a m: 1, "test"];
15
}