summaryrefslogtreecommitdiffstats
path: root/unittests/AST/StmtPrinterTest.cpp
diff options
context:
space:
mode:
authordim <dim@FreeBSD.org>2013-04-08 18:45:10 +0000
committerdim <dim@FreeBSD.org>2013-04-08 18:45:10 +0000
commitc72c57c9e9b69944e3e009cd5e209634839581d3 (patch)
tree4fc2f184c499d106f29a386c452b49e5197bf63d /unittests/AST/StmtPrinterTest.cpp
parent5b20025c30d23d521e12c1f33ec8fa6b821952cd (diff)
downloadFreeBSD-src-c72c57c9e9b69944e3e009cd5e209634839581d3.zip
FreeBSD-src-c72c57c9e9b69944e3e009cd5e209634839581d3.tar.gz
Vendor import of clang trunk r178860:
http://llvm.org/svn/llvm-project/cfe/trunk@178860
Diffstat (limited to 'unittests/AST/StmtPrinterTest.cpp')
-rw-r--r--unittests/AST/StmtPrinterTest.cpp11
1 files changed, 2 insertions, 9 deletions
diff --git a/unittests/AST/StmtPrinterTest.cpp b/unittests/AST/StmtPrinterTest.cpp
index 0fd1b2e..473ee13 100644
--- a/unittests/AST/StmtPrinterTest.cpp
+++ b/unittests/AST/StmtPrinterTest.cpp
@@ -146,20 +146,14 @@ TEST(StmtPrinter, TestMSIntegerLiteral) {
" 1i8, -1i8, 1ui8, "
" 1i16, -1i16, 1ui16, "
" 1i32, -1i32, 1ui32, "
- " 1i64, -1i64, 1ui64, "
- " 1i128, -1i128, 1ui128, 1Ui128,"
- " 0x10000000000000000i128;"
+ " 1i64, -1i64, 1ui64;"
"}",
"A",
"1 , -1 , 1U , "
"1 , -1 , 1U , "
"1L , -1L , 1UL , "
- "1LL , -1LL , 1ULL , "
- "1 , -1 , 1U , 1U , "
- "18446744073709551616i128"));
+ "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.)
}
TEST(StmtPrinter, TestFloatingPointLiteral) {
@@ -169,4 +163,3 @@ TEST(StmtPrinter, TestFloatingPointLiteral) {
"1.F , -1.F , 1. , -1. , 1.L , -1.L"));
// Should be: with semicolon
}
-
OpenPOWER on IntegriCloud