summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c
new file mode 100644
index 00000000..71824adc
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.76.0/tests/expected/c/10060-Issue_3548.c
@@ -0,0 +1,21 @@
+bool is_inside(int num)
+{
+ bool inside;
+
+ inside = num >= 3
+ && num <= 10;
+
+ return num <= 3
+ && num >= 10;
+}
+
+bool is_outside(int num)
+{
+ bool outside;
+
+ outside = num < 3
+ || num > 10;
+
+ return num < 3
+ || num > 10;
+}