<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Following came from tools/clang/test/CodeGenObjC/message-arrays.m. But I don't know how to compile it at terminal command since no clang_cc1 executable file. Can some one help me? I am writing the llvm backend document --<a href="http://jonathan2251.github.com/lbd/index.html">http://jonathan2251.github.com/lbd/index.html</a> now. I use "clang -c hello.cpp -emit-llvm" to compile C++ but don't know how to compile Object-C.<br><br>// RUN: %clang_cc1 -emit-llvm -o %t %s<br><br>void f0(id a) {<br> // This should have an implicit cast<br> [ a print: "hello" ];<br>}<br><br>@interface A<br>-(void) m: (int) arg0, ...;<br>@end<br><br>int f1(A *a) {<br> // This should also get an implicit cast (for the vararg)<br> [a m: 1, "test"];<br>}<br><br>Jonathan<br></body></html>