mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-02-21 21:11:36 +00:00
Add a simple test for hex constant integers
llvm-svn: 5803
This commit is contained in:
parent
32af8814ce
commit
de4b3dba5a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user