diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_2322.cpp')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_2322.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_2322.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_2322.cpp new file mode 100644 index 00000000..f9768c40 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/input/cpp/bug_2322.cpp @@ -0,0 +1,12 @@ +void main() +{ + if (foo()) { bar(); } + else if (baz({ rick, morty })) { anime(); } + else if (a) while (true) { amime2(); } + else if (b) do { amime3(); } while(false); + else if (c) for(;;) { amime5(); } + else if (d) while(true) {} + else if (e) do {} while(false); + else if (f) for(;;) {} + else { amime6(); } +} |