diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/d/40402-vbraces002.d')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/d/40402-vbraces002.d | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/d/40402-vbraces002.d b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/d/40402-vbraces002.d new file mode 100644 index 00000000..c966d140 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/d/40402-vbraces002.d @@ -0,0 +1,23 @@ +int super_fun(bool a, bool b, bool c, bool d)
+{
+ int i = 6;
+ static if (true)
+ while (true)
+ if(b) {
+ return 1;
+ }
+ else if (c) {
+ while (true)
+ if(d) {
+ return 2;
+ }
+ else{
+ while (true)
+ if(a)
+ return 3;
+ }
+ }
+ while (d)
+ return 4;
+ return 1;
+}
\ No newline at end of file |