diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/d/vbraces002.d')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/d/vbraces002.d | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/d/vbraces002.d b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/d/vbraces002.d new file mode 100644 index 00000000..5e45e999 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/d/vbraces002.d @@ -0,0 +1,19 @@ +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 |