diff options
author | Gabor Marton <gabor.marton@ericsson.com> | 2019-09-23 19:49:45 +0000 |
---|---|---|
committer | Gabor Marton <gabor.marton@ericsson.com> | 2019-09-23 19:49:45 +0000 |
commit | 470b851dcd360959d4d345b6a4604b91a5a38f59 (patch) | |
tree | f2daa02006bb808a7a482da913d2812495109b00 /unittests | |
parent | 55764d577a6959e9496cb043d162d75d0fa2bb29 (diff) | |
download | clang-470b851dcd360959d4d345b6a4604b91a5a38f59.tar.gz |
[ASTImporter] 2nd attempt to fix Windows buildbot test errors
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@372646 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r-- | unittests/AST/ASTImporterODRStrategiesTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/AST/ASTImporterODRStrategiesTest.cpp b/unittests/AST/ASTImporterODRStrategiesTest.cpp index 0c200952bd..62368022a0 100644 --- a/unittests/AST/ASTImporterODRStrategiesTest.cpp +++ b/unittests/AST/ASTImporterODRStrategiesTest.cpp @@ -30,9 +30,9 @@ using internal::BindableMatcher; struct Function { using DeclTy = FunctionDecl; - static constexpr auto *Prototype = "void X(long);"; + static constexpr auto *Prototype = "void X(char*, char);"; static constexpr auto *ConflictingPrototype = "void X(double);"; - static constexpr auto *Definition = "void X(long a) {}"; + static constexpr auto *Definition = "void X(char *a, char b) {}"; static constexpr auto *ConflictingDefinition = "void X(double a) {}"; BindableMatcher<Decl> getPattern() { return functionDecl(hasName("X"), unless(isImplicit())); |