Index: test/regression/45.stmt |
diff --git a/test/regression/45.stmt b/test/regression/45.stmt |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4f94eac4e75fdf0c78a549859f21caf24d92ed0b |
--- /dev/null |
+++ b/test/regression/45.stmt |
@@ -0,0 +1,10 @@ |
+>>> doesn't wrap after condition on single-line ifs |
+foo() { |
+ if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx) |
+ return xxxxxxxxxxxxxx ? xxxxxxxxxxxxxxxxxxxx : xxxxxxxxxxxxxxxxxxxxxxxxxx; |
+} |
+<<< |
+foo() { |
+ if (xxxxxxxxxxxxxxxx || xxxxxxxxxxxxxxxxxxxxx) return xxxxxxxxxxxxxx ? |
+ xxxxxxxxxxxxxxxxxxxx : xxxxxxxxxxxxxxxxxxxxxxxxxx; |
+} |