forked from OSchip/llvm-project
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:
parent
ad60708a72
commit
d4328ded85
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue