diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00721-nl-semicolon.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00721-nl-semicolon.c | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00721-nl-semicolon.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00721-nl-semicolon.c new file mode 100644 index 00000000..441091b5 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00721-nl-semicolon.c @@ -0,0 +1,35 @@ +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(); +} +; |