Fixed compiler warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68664 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Misha Brukman 2009-04-09 00:42:37 +00:00
parent 6ddf2c1930
commit b9ca608737

View File

@ -18,7 +18,7 @@ TEST(ConstantsTest, Integer_i1) {
const IntegerType* Int1 = IntegerType::get(1);
Constant* One = ConstantInt::get(Int1, 1, true);
Constant* Zero = ConstantInt::get(Int1, 0);
Constant* NegOne = ConstantInt::get(Int1, -1, true);
Constant* NegOne = ConstantInt::get(Int1, static_cast<uint64_t>(-1), true);
Constant* Undef = UndefValue::get(Int1);
// Input: @b = constant i1 add(i1 1 , i1 1)