summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c
new file mode 100644
index 00000000..385f4a8e
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/input/c/braces-4.c
@@ -0,0 +1,12 @@
+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;
+}
+