aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--unittests/AST/DeclPrinterTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/AST/DeclPrinterTest.cpp b/unittests/AST/DeclPrinterTest.cpp
index a770022e05..aeb49b0171 100644
--- a/unittests/AST/DeclPrinterTest.cpp
+++ b/unittests/AST/DeclPrinterTest.cpp
@@ -478,7 +478,7 @@ TEST(DeclPrinter, TestCXXConstructorDecl8) {
"};",
constructorDecl(ofClass(hasName("A"))).bind("id"),
"A() noexcept"));
- // WRONG; Should be: "A() = delete;"
+ // WRONG; Should be: "A() = default;"
}
TEST(DeclPrinter, TestCXXConstructorDecl9) {