summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp
new file mode 100644
index 00000000..b3b51488
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/cpp/bug_i_409.cpp
@@ -0,0 +1,11 @@
+if(X == Y) X = Z;
+if(Y == Z)
+ Y = X;
+
+for (i=0; i<5; i++) foo(i);
+for (i=0; i<5; i++)
+ foo(i);
+
+while (i<5) foo(i++);
+while (i<5)
+ foo(i++);