summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c
new file mode 100644
index 00000000..1064d493
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.0/tests/input/c/for-space.c
@@ -0,0 +1,17 @@
+void f()
+{
+for ( ; it != Values.end(); ++it)
+BTree.insert(std::pair < int, double > (*it, double (*it) + 1.0));
+
+
+for ( ; vIt != Values.end(); ++vIt)
+{ }
+for ( ; vIt != Values.end(); ++vIt)
+{ }
+
+for ( ; ; ) ;
+for (int i = 0; i < 42; ) i += 3;
+
+for (int i = 0; i < 42; ++i) k += 3;
+}
+