projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e8ba10
)
Add a simple test for hex constant integers
author
Chris Lattner
<sabre@nondot.org>
Thu, 17 Apr 2003 22:19:23 +0000
(22:19 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 17 Apr 2003 22:19:23 +0000
(22:19 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@5803
91177308
-0d34-0410-b5e6-
96231b3b80d8
test/Feature/constexpr.ll
patch
|
blob
|
history
diff --git
a/test/Feature/constexpr.ll
b/test/Feature/constexpr.ll
index b5c0584c335c85870e9605ea02b746ac843a3c9a..5da6d806116ebbc2231f627ab12fcdd75abd287b 100644
(file)
--- a/
test/Feature/constexpr.ll
+++ b/
test/Feature/constexpr.ll
@@
-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