Changes in directory llvm-test/SingleSource/UnitTests/Integer:

override.cpp updated: 1.1 -> 1.2
---
Log message:

Print something useful out.


---
Diffs of the changes:  (+3 -2)

 override.cpp |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Integer/override.cpp
diff -u llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.1 
llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.2
--- llvm-test/SingleSource/UnitTests/Integer/override.cpp:1.1   Thu Jan 18 
20:22:46 2007
+++ llvm-test/SingleSource/UnitTests/Integer/override.cpp       Fri Jan 19 
16:20:57 2007
@@ -4,16 +4,17 @@
 
 void func(int32 i)
 {
-    printf("call func with int32");
+    printf("call func with int32: %d\n", (int)i);
 }
 
 void func(int31 s)
 {
-    printf("call func with int31\n");
+    printf("call func with int31: %d\n", (int)s);
 }
 
 int main()
 {
     func( (int31) 1);
+    func( (int32) 2);
     return 0;
 }



_______________________________________________
llvm-commits mailing list
llvm-commits@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

Reply via email to