summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c
new file mode 100644
index 00000000..8a86dd25
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/bug_637.c
@@ -0,0 +1,16 @@
+// test for bug # 637
+void foo(void)
+{
+while (1);
+ while (1);
+ while (1) ;
+ while (1) ;
+ while (1);
+ if (n) {
+ while (1);
+ while (1);
+ while (1) ;
+ while (1) ;
+ while (1);
+ }
+}