summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp
new file mode 100644
index 00000000..ec4554e9
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.74.0/tests/expected/cpp/30282-Issue_2703.cpp
@@ -0,0 +1,14 @@
+#define DEFINE_OPERATORS(classT, flagsT) \
+ inline classT::flagsT \
+ operator&(const classT::flagsT& lh1, \
+ const classT::flagsT::EnumType rh1) \
+ { \
+ return classT::flagsT(lhs) &= rhs; \
+ } \
+ \
+ inline classT::flagsT \
+ operator&(const classT::flagsT::EnumType lh2, \
+ const classT::flagsT& rh2) \
+ { \
+ return classT::flagsT(lhs) &= rhs; \
+ }