diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34003-nl_max_blank_in_func.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34003-nl_max_blank_in_func.cpp | 114 |
1 files changed, 114 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34003-nl_max_blank_in_func.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34003-nl_max_blank_in_func.cpp new file mode 100644 index 00000000..cd1083ee --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34003-nl_max_blank_in_func.cpp @@ -0,0 +1,114 @@ +//regular function +void func0() +{ + return; +} +// ======================================================================== +//member function +void cls::func1() +{ + return; +} +// ======================================================================== +//lambda function +const auto l = [](){ + return 1; + }; +// ======================================================================== +//regular function in class +class cls +{ +public: + + + + +void func0() +{ + return; +} + + + + +} +// ======================================================================== +//member function in class + +// ======================================================================== +//lambda function in class +class cls +{ +pubic: + + + + +const auto l = [](){ + return 1; + }; + + + + +} +// ======================================================================== +//regular function in class in namespace +namespace ns +{ + + + + +class cls +{ +public: + + + + +void func0() +{ + return; +} + + + + +} + + + + +} +// ======================================================================== +//member function in class in namespace + +// ======================================================================== +//lambda function in class in namespace +namespace ns +{ + + + + +class cls +{ +pubic: + + + + +const auto l = [](){ + return 1; + }; + + + + +} + + + + +} |