]> granicus.if.org Git - clang/commitdiff
unittests/AST/StmtPrinterTest.cpp: Suppress a LP64-assumed test, "0x100000000i128...
authorNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Sep 2012 00:34:18 +0000 (00:34 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Mon, 24 Sep 2012 00:34:18 +0000 (00:34 +0000)
LONG_MAX is 2147483647L on common 32 bit and LLP64 (Windows x64).

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@164478 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/AST/StmtPrinterTest.cpp

index f4ca312730e5160c6be5a348a6d822a5d59a7cc8..0fd1b2e6c3c85f20cdc520f066be59ef9f151dfc 100644 (file)
@@ -148,7 +148,6 @@ TEST(StmtPrinter, TestMSIntegerLiteral) {
     "  1i32, -1i32, 1ui32, "
     "  1i64, -1i64, 1ui64, "
     "  1i128, -1i128, 1ui128, 1Ui128,"
-    "  0x100000000i128,"
     "  0x10000000000000000i128;"
     "}",
     "A",
@@ -157,7 +156,6 @@ TEST(StmtPrinter, TestMSIntegerLiteral) {
     "1L , -1L , 1UL , "
     "1LL , -1LL , 1ULL , "
     "1 , -1 , 1U , 1U , "
-    "4294967296L , "
     "18446744073709551616i128"));
     // Should be: with semicolon
     // WRONG; all 128-bit literals should be printed as 128-bit.