[llvm-commits] CVS: llvm/test/Regression/Jello/test-call.ll

Misha Brukman brukman at cs.uiuc.edu
Thu Dec 12 22:44:01 PST 2002


Changes in directory llvm/test/Regression/Jello:

test-call.ll updated: 1.2 -> 1.3

---
Log message:

This way it's easier to test: if the call to external exit(0) succeeded,
program exits with code 0, no error. If the call does not work/succeed, main
returns 1, so we notice it. The other way around doesn't work. :)


---
Diffs of the changes:

Index: llvm/test/Regression/Jello/test-call.ll
diff -u llvm/test/Regression/Jello/test-call.ll:1.2 llvm/test/Regression/Jello/test-call.ll:1.3
--- llvm/test/Regression/Jello/test-call.ll:1.2	Wed Dec  4 11:15:07 2002
+++ llvm/test/Regression/Jello/test-call.ll	Thu Dec 12 22:43:32 2002
@@ -1,7 +1,7 @@
 
 declare void %exit(int)
 
-void %main() {
-	call void %exit(int 1)
-	ret void
+int %main() {
+	call void %exit(int 0)
+	ret int 1
 }





More information about the llvm-commits mailing list