diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/10039-Issue_3370.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/10039-Issue_3370.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/10039-Issue_3370.c b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/10039-Issue_3370.c new file mode 100644 index 00000000..2586a3b4 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.75.0/tests/expected/c/10039-Issue_3370.c @@ -0,0 +1,17 @@ +int main(int argc, char** argv) +{ + switch (argc) + { + // If FOO or BAR is defined, treat it specially + #ifdef FOO + case FOO: + return 1; + #endif + #ifdef BAR + case BAR: + return 2; + #endif + default: + return 100; + } +} |