[llvm-commits] CVS: llvm/test/Regression/Jello/test-call.ll
Chris Lattner
lattner at cs.uiuc.edu
Fri Dec 13 08:16:01 PST 2002
Changes in directory llvm/test/Regression/Jello:
test-call.ll updated: 1.3 -> 1.4
---
Log message:
Test indirect call
---
Diffs of the changes:
Index: llvm/test/Regression/Jello/test-call.ll
diff -u llvm/test/Regression/Jello/test-call.ll:1.3 llvm/test/Regression/Jello/test-call.ll:1.4
--- llvm/test/Regression/Jello/test-call.ll:1.3 Thu Dec 12 22:43:32 2002
+++ llvm/test/Regression/Jello/test-call.ll Fri Dec 13 08:15:20 2002
@@ -1,7 +1,13 @@
declare void %exit(int)
+
+void %FP(void(int) * %F) {
+ call void %F(int 0)
+ ret void
+}
+
int %main() {
- call void %exit(int 0)
+ call void %FP(void(int)* %exit)
ret int 1
}
More information about the llvm-commits
mailing list