[llvm-commits] CVS: llvm/test/Feature/constexpr.ll

Chris Lattner lattner at cs.uiuc.edu
Thu Apr 17 17:20:01 PDT 2003


Changes in directory llvm/test/Feature:

constexpr.ll updated: 1.6 -> 1.7

---
Log message:

Add a simple test for hex constant integers


---
Diffs of the changes:

Index: llvm/test/Feature/constexpr.ll
diff -u llvm/test/Feature/constexpr.ll:1.6 llvm/test/Feature/constexpr.ll:1.7
--- llvm/test/Feature/constexpr.ll:1.6	Tue Mar 18 16:53:19 2003
+++ llvm/test/Feature/constexpr.ll	Thu Apr 17 17:19:23 2003
@@ -6,6 +6,9 @@
 ;; Test constant cast expressions
 ;;-------------------------------
 
+global ulong u0x00001     ; hexadecimal unsigned integer constants
+global long  s0x0012312   ; hexadecimal signed integer constants
+
 %t2 = global int* %t1                             ;; Forward reference without cast
 %t3 = global uint* cast (int* %t1 to uint*)       ;; Forward reference with cast
 %t1 = global int 4                                ;; int* %0





More information about the llvm-commits mailing list