[llvm-commits] CVS: llvm-test/SingleSource/UnitTests/Integer/local-union.c

Reid Spencer reid at x10sys.com
Mon Jan 22 13:05:10 PST 2007



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

local-union.c updated: 1.4 -> 1.5
---
Log message:

Fix constant integer for 64-bits.
Fix header to 80 cols.


---
Diffs of the changes:  (+4 -4)

 local-union.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)


Index: llvm-test/SingleSource/UnitTests/Integer/local-union.c
diff -u llvm-test/SingleSource/UnitTests/Integer/local-union.c:1.4 llvm-test/SingleSource/UnitTests/Integer/local-union.c:1.5
--- llvm-test/SingleSource/UnitTests/Integer/local-union.c:1.4	Mon Jan 22 14:47:27 2007
+++ llvm-test/SingleSource/UnitTests/Integer/local-union.c	Mon Jan 22 15:04:54 2007
@@ -1,13 +1,13 @@
-//===--- local-union.c --- Test Cases for Bit Accurate Types ------------===//
+//===--- local-union.c --- Test Cases for Bit Accurate Types --------------===//
 //
 // This file was developed by Guoling han and donated to the LLVM research
 // group and is distributed under the University of Illinois Open Source
 // License. See LICENSE.TXT for details.
-//===-------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
 //
 // This is a test for local union data type.
 //
-//===--------------------------------------------------------------------===//
+//===----------------------------------------------------------------------===//
 
 #include <stdio.h>
 
@@ -18,7 +18,7 @@
 double test(union foo* F) {
   {
     union foo { float X; int33 Y;} A;
-    A.Y = 0x1ffffffff;
+    A.Y = 0x1ffffffffULL;
     return A.X;
   }
 }






More information about the llvm-commits mailing list