diff options
Diffstat (limited to 'clang/test/Index/comment-cplus-decls.cpp')
-rw-r--r-- | clang/test/Index/comment-cplus-decls.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Index/comment-cplus-decls.cpp b/clang/test/Index/comment-cplus-decls.cpp index 002482ed0f3..d4f968f5fbf 100644 --- a/clang/test/Index/comment-cplus-decls.cpp +++ b/clang/test/Index/comment-cplus-decls.cpp @@ -40,7 +40,7 @@ protected: data* reserved; }; // CHECK: <Declaration>class Test {}</Declaration> -// CHECK: <Declaration>Test() : reserved(new Test::data())</Declaration> +// CHECK: <Declaration>Test() : reserved(new Test::data()) {}</Declaration> // CHECK: <Declaration>unsigned int getID() const</Declaration> // CHECK: <Declaration>~Test()</Declaration> // CHECK: <Declaration>Test::data *reserved</Declaration> |