diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60056-issue_3116-2.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60056-issue_3116-2.cpp | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60056-issue_3116-2.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60056-issue_3116-2.cpp new file mode 100644 index 00000000..dded453c --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/expected/cpp/60056-issue_3116-2.cpp @@ -0,0 +1,41 @@ +obj.AddObject(Object::UniqueName(), 10, [this] { + holder.Access([this](const auto &info) { + if (IsGood(info)) { + Add(info); + } + }); +}); + +obj.AddObject( + Object::UniqueName(), + 10, + [this] { + holder.Access([this](const auto &info) { + if (IsGood(info)) { + Add(info); + } + }); + } +); + +{ + obj.AddObject(Object::UniqueName(), 10, [this] { + holder.Access([this](const auto &info) { + if (IsGood(info)) { + Add(info); + } + }); + }); + + obj.AddObject( + Object::UniqueName(), + 10, + [this] { + holder.Access([this](const auto &info) { + if (IsGood(info)) { + Add(info); + } + }); + } + ); +} |