llvm.org GIT mirror llvm / 681cfb9
Add a simple test for hex constant integers git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 17 years ago
1 changed file(s) with 3 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
44 ;;-------------------------------
55 ;; Test constant cast expressions
66 ;;-------------------------------
7
8 global ulong u0x00001 ; hexadecimal unsigned integer constants
9 global long s0x0012312 ; hexadecimal signed integer constants
710
811 %t2 = global int* %t1 ;; Forward reference without cast
912 %t3 = global uint* cast (int* %t1 to uint*) ;; Forward reference with cast