summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c
new file mode 100644
index 00000000..8e0f59d3
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/nl-semicolon.c
@@ -0,0 +1,21 @@
+void foo(void)
+{
+ a = 5; b = 3; j = 6;
+
+ for (a = 0; a < j; a++)
+ {
+ b *= (a + b);
+ }
+}
+
+struct somestruct { int a; char b; foo c; bar *d; };
+
+struct foo { int a; char *b };
+
+void f()
+{
+for (;;)
+nothing();
+foobar();
+}
+;