[cfe-commits] r164478 - /cfe/trunk/unittests/AST/StmtPrinterTest.cpp

NAKAMURA Takumi geek4civic at gmail.com
Sun Sep 23 17:34:18 PDT 2012


Author: chapuni
Date: Sun Sep 23 19:34:18 2012
New Revision: 164478

URL: http://llvm.org/viewvc/llvm-project?rev=164478&view=rev
Log:
unittests/AST/StmtPrinterTest.cpp: Suppress a LP64-assumed test, "0x100000000i128 => 4294967296L", for now.

LONG_MAX is 2147483647L on common 32 bit and LLP64 (Windows x64).

Modified:
    cfe/trunk/unittests/AST/StmtPrinterTest.cpp

Modified: cfe/trunk/unittests/AST/StmtPrinterTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/StmtPrinterTest.cpp?rev=164478&r1=164477&r2=164478&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/StmtPrinterTest.cpp (original)
+++ cfe/trunk/unittests/AST/StmtPrinterTest.cpp Sun Sep 23 19:34:18 2012
@@ -148,7 +148,6 @@
     "  1i32, -1i32, 1ui32, "
     "  1i64, -1i64, 1ui64, "
     "  1i128, -1i128, 1ui128, 1Ui128,"
-    "  0x100000000i128,"
     "  0x10000000000000000i128;"
     "}",
     "A",
@@ -157,7 +156,6 @@
     "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.





More information about the cfe-commits mailing list