summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp
new file mode 100644
index 00000000..efb19263
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30295-pos_shift.cpp
@@ -0,0 +1,14 @@
+void foo()
+{
+ // Ensure non-shift operators aren't changed
+ x = 1 +
+ 2;
+ x = 1
+ + 2;
+ x = 1 + 2;
+
+ // Test position of shift operator
+ cout << x << y;
+ cout << x << y;
+ cout << x << y;
+}