summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp
new file mode 100644
index 00000000..f459fdcc
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/34179-arith_vs_byref.cpp
@@ -0,0 +1,10 @@
+A a = {this->r & cos(b)};
+
+B b1 = {0x0000'1111 & this->r};
+B b2 = {this->r & 0x0000'1111};
+B b3 = {0x0000'1111 & value};
+B b4 = {value & 0x0000'1111};
+
+auto p = std::make_pair(r & cos(a), r & sin(a));
+
+auto p2 = std::make_pair(r & 0x0000'1111, 0x0000'1111 & r);