diff options
author | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-29 10:22:40 +0000 |
---|---|---|
committer | NAKAMURA Takumi <geek4civic@gmail.com> | 2012-11-29 10:22:40 +0000 |
commit | c2b2b75bd511143568bd1fcc16e15d7f67e1dfb8 (patch) | |
tree | 4962d6802d61f1e9dfe293c3df18012d6a7387c3 | |
parent | d4bd7b73e370eb429d1d2ef884967b88a299b763 (diff) | |
download | bcm5719-llvm-c2b2b75bd511143568bd1fcc16e15d7f67e1dfb8.tar.gz bcm5719-llvm-c2b2b75bd511143568bd1fcc16e15d7f67e1dfb8.zip |
ASTTests/StmtPrinterTest/StmtPrinter.TestMSIntegerLiteral: Remove i128 stuff. Conditioning-out in macro argument was not accepted on MS cl.exe.
llvm-svn: 168867
-rw-r--r-- | clang/unittests/AST/StmtPrinterTest.cpp | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/clang/unittests/AST/StmtPrinterTest.cpp b/clang/unittests/AST/StmtPrinterTest.cpp index 10bd4b4cc14..130cafc47e3 100644 --- a/clang/unittests/AST/StmtPrinterTest.cpp +++ b/clang/unittests/AST/StmtPrinterTest.cpp @@ -146,25 +146,13 @@ TEST(StmtPrinter, TestMSIntegerLiteral) { " 1i8, -1i8, 1ui8, " " 1i16, -1i16, 1ui16, " " 1i32, -1i32, 1ui32, " - " 1i64, -1i64, 1ui64" -#if defined(__SIZEOF_INT128__) - ", " - " 1i128, -1i128, 1ui128, 1Ui128," - " 0x10000000000000000i128" -#endif - ";" + " 1i64, -1i64, 1ui64;" "}", "A", "1 , -1 , 1U , " "1 , -1 , 1U , " "1L , -1L , 1UL , " - "1LL , -1LL , 1ULL" -#if defined(__SIZEOF_INT128__) - " , " - "1 , -1 , 1U , 1U , " - "18446744073709551616i128" -#endif - )); + "1LL , -1LL , 1ULL")); // Should be: with semicolon // WRONG; all 128-bit literals should be printed as 128-bit. // (This is because currently we do semantic analysis incorrectly.) |