summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c
new file mode 100644
index 00000000..05c0d9b5
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/c/00062-braces-4.c
@@ -0,0 +1,16 @@
+int foo(int bar)
+{
+#ifndef CONFIG_1
+ bar -= 3;
+#else
+ for (j = 0; j < NR_CPUS; j++)
+ {
+ if (cpu_online(j))
+ {
+ bar++;
+ }
+ }
+#endif
+ return(0);
+}
+