summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-05-06 13:43:02 +0900
committerMichele Calgaro <[email protected]>2022-05-06 13:49:57 +0900
commit80a31d6c8a114799dc5284086ffce2e9be34c50e (patch)
tree1719891657e76c04f063f5ff7b5fdf63d9e562c3 /debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c
parente6ba08c3b21cdb14ee3a97b5d584759a4597b54b (diff)
downloadextra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.tar.gz
extra-dependencies-80a31d6c8a114799dc5284086ffce2e9be34c50e.zip
uncrustify-trinity: updated based on upstream version 0.75.0
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c73
1 files changed, 0 insertions, 73 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c
deleted file mode 100644
index 0d004c19..00000000
--- a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/c/00201-case.c
+++ /dev/null
@@ -1,73 +0,0 @@
-void foo(void)
-{
- switch(ch)
- {
- // handle 'a'
- case 'a':
- {
- handle_a();
- multiline(123,
- 345);
- break;
- }
-
- // handle 'b'
- case 'b':
- handle_b();
- multiline(123,
- 345);
- break;
-
- // handle 'c' and 'd'
- case 'c':
- case 'd':
- // c and d are really the same thing
- handle_cd();
- multiline(123,
- 345);
- break;
-
- case 'e':
- {
- handle_a();
- multiline(123,
- 345);
- }
- break;
-
- // case1
- case (case1):
- {
- //do stuff
- break;
- }
-
- case (case2):
- {
- //do stuff
- break;
- }
-
- case (case3):
-
- /*do stuff*/
- break;
-
- case (case3):
- statement();
- {
- another_statement();
- }
- break;
-
- // really should not get here
- default:
- handle_default();
- multiline(123,
- 345);
- break;
- }
- multiline(123,
- 345);
-}
-