summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c
new file mode 100644
index 00000000..aec2f0a3
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/tests/input/c/cond.c
@@ -0,0 +1,10 @@
+
+int foo1(bool b, int tv, int fv)
+{
+ return b ? tv : fv;
+}
+
+int foo2(bool b, int tv, int fv)
+{
+ return b?tv:fv;
+}