Switch to ssize_t from size_t to unbreak windows builders.

Builders that have -fms-compatibility on by default define size_t implicitly.
Tests that provide conflicting definitions would cause unintended failures.

llvm-svn: 199195
This commit is contained in:
David Majnemer 2014-01-14 08:18:49 +00:00
parent ad60708a72
commit d4328ded85
1 changed files with 3 additions and 3 deletions

View File

@ -370,11 +370,11 @@ TEST(DeclPrinter, TestFunctionDecl10) {
TEST(DeclPrinter, TestFunctionDecl11) {
ASSERT_TRUE(PrintedDeclCXX98Matches(
"typedef long size_t;"
"typedef long ssize_t;"
"typedef int *pInt;"
"void A(int a, pInt b, size_t c);",
"void A(int a, pInt b, ssize_t c);",
"A",
"void A(int a, pInt b, size_t c)"));
"void A(int a, pInt b, ssize_t c)"));
// Should be: with semicolon
}