summaryrefslogtreecommitdiff
path: root/test/Feature/testconstants.ll
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-12-20 17:27:58 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-12-20 17:27:58 +0000
commit505811e9dda98d7522f524c8647ca73cc8402ba3 (patch)
treee82e95775b560a4f31a0a07943609bfbc6d1b7bd /test/Feature/testconstants.ll
parent9ffad0a43f189bbc75139bf49cb0114882dc14a9 (diff)
downloadllvm-505811e9dda98d7522f524c8647ca73cc8402ba3.tar.gz
llvm-505811e9dda98d7522f524c8647ca73cc8402ba3.tar.bz2
llvm-505811e9dda98d7522f524c8647ca73cc8402ba3.tar.xz
Add some tests for negative constants to unsigned and large positive
constants to signed. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@32717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Feature/testconstants.ll')
-rw-r--r--test/Feature/testconstants.ll7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Feature/testconstants.ll b/test/Feature/testconstants.ll
index 3df2a2971e..7d9e11964e 100644
--- a/test/Feature/testconstants.ll
+++ b/test/Feature/testconstants.ll
@@ -24,3 +24,10 @@ begin
ret sbyte* null ; Test null
end
+uint %negativeUnsigned() {
+ ret uint -1
+}
+
+int %largeSigned() {
+ ret int 3900000000
+}