mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Correct for recent assert change.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79601 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f7a86a4e1d
commit
5504225c2a
@ -323,7 +323,7 @@ TEST(APIntTest, StringDeath) {
|
|||||||
EXPECT_DEATH(APInt(32, "", 0), "Invalid string length");
|
EXPECT_DEATH(APInt(32, "", 0), "Invalid string length");
|
||||||
EXPECT_DEATH(APInt(32, "0", 0), "Radix should be 2, 8, 10, or 16!");
|
EXPECT_DEATH(APInt(32, "0", 0), "Radix should be 2, 8, 10, or 16!");
|
||||||
EXPECT_DEATH(APInt(32, "", 10), "Invalid string length");
|
EXPECT_DEATH(APInt(32, "", 10), "Invalid string length");
|
||||||
EXPECT_DEATH(APInt(32, "-", 10), "string is only a minus!");
|
EXPECT_DEATH(APInt(32, "-", 10), "String is only a sign, needs a value.");
|
||||||
EXPECT_DEATH(APInt(1, "1234", 10), "Insufficient bit width");
|
EXPECT_DEATH(APInt(1, "1234", 10), "Insufficient bit width");
|
||||||
EXPECT_DEATH(APInt(32, "\0", 10), "Invalid string length");
|
EXPECT_DEATH(APInt(32, "\0", 10), "Invalid string length");
|
||||||
EXPECT_DEATH(APInt(32, StringRef("1\02", 3), 10), "Invalid character in digit string");
|
EXPECT_DEATH(APInt(32, StringRef("1\02", 3), 10), "Invalid character in digit string");
|
||||||
|
Loading…
Reference in New Issue
Block a user