diff options
Diffstat (limited to 'unittests/AST/ASTImporterODRStrategiesTest.cpp')
-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())); |