summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp
new file mode 100644
index 00000000..4666e464
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.72.0/tests/input/cpp/byref-2.cpp
@@ -0,0 +1,6 @@
+int&aa(int&x,int&b); // Sp Before Byref Func, Sp After Byref Func, Sp Before Byref, Sp After Byref
+int aa(int&x,int&) // Sp Before Byref, Sp Before Unnamed Byref, Sp After Byref
+{
+ b = aa(x,b);
+ c = aa(&y,&d); // Sp Addr
+}