diff options
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00069-vb-pp.c')
-rw-r--r-- | debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00069-vb-pp.c | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00069-vb-pp.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00069-vb-pp.c new file mode 100644 index 00000000..9fb79a06 --- /dev/null +++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00069-vb-pp.c @@ -0,0 +1,49 @@ + +void f() +{ + if (0) +#pragma omp atomic + { + i++; + } +} + + +void f() +{ + if (0) +#if foo + { + i++; + } +#else + { + i += 2; + } +#endif +} + +void f() +{ + while (108) + { + if (42) +#pragma omp critical + { } + if (23) +#pragma omp critical + { + ++i; + } + while (16) + { + } + int i = 15; + if (8) +#pragma omp atomic + { + i += 4; + } + } +} + |