diff options
author | Reid Spencer <rspencer@reidspencer.com> | 2006-12-20 17:27:58 +0000 |
---|---|---|
committer | Reid Spencer <rspencer@reidspencer.com> | 2006-12-20 17:27:58 +0000 |
commit | 505811e9dda98d7522f524c8647ca73cc8402ba3 (patch) | |
tree | e82e95775b560a4f31a0a07943609bfbc6d1b7bd /test/Feature | |
parent | 9ffad0a43f189bbc75139bf49cb0114882dc14a9 (diff) | |
download | external_llvm-505811e9dda98d7522f524c8647ca73cc8402ba3.zip external_llvm-505811e9dda98d7522f524c8647ca73cc8402ba3.tar.gz external_llvm-505811e9dda98d7522f524c8647ca73cc8402ba3.tar.bz2 |
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')
-rw-r--r-- | test/Feature/testconstants.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/Feature/testconstants.ll b/test/Feature/testconstants.ll index 3df2a29..7d9e119 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 +} |