summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c80
1 files changed, 0 insertions, 80 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c
deleted file mode 100644
index d0b6bbbb..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00206-case-nl_before_return.c
+++ /dev/null
@@ -1,80 +0,0 @@
-int foo(int arg)
-{
- switch (arg)
- {
- case 0: return 1;
- case 1:
- return 2;
- case 2:
- printf("Hello world!\n");
-
- return 3;
- case 3:
- {
- int a = 4;
-
- return a;
- }
- case 4:
-
- return 5;
- case 5:
- printf("Hello world!\n");
-
- return 6;
- case 6:
- {
- int a = 7;
-
- return a;
- }
- case 7: /* comment */ return 8;
- case 8:
- /* C-style comment */
- return 9;
- case 9: /* trailing comment */
- return 10;
- case 10: /* trailing comment */
- /* C-style comment */
- return 11;
- case 11:
- // C++-style comment
- return 12;
- case 12:
- // Multi-line
- // C++-style comment
- return 13;
- case 13: // trailing comment
- // Multi-line
- // C++-style comment
- return 14;
- case 14:
-
- // Multi-line
- // C++-style comment
- return 15;
- case 15:
-
- /* C-style comment */
- return 16;
- case 16:
- /*
- * Multi-line C-style comment
- */
- return 17;
- case 17:
- /*--------------------*/
- /* Multi-part comment */
- /*--------------------*/
- return 18;
- case 18:
- /*---------------------*/
- // Mixed-style comment
- /*---------------------*/
- return 19;
- default:
- return arg++;
- }
-
- return 0;
-}