summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp
new file mode 100644
index 00000000..4abfe954
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.78.1/tests/expected/cpp/30948-sp_before_byref_func.cpp
@@ -0,0 +1,8 @@
+const Foo& Foo::operator ==(Foo& me){
+ ::sockaddr* ptr = (::sockaddr*)&host;
+ return me;
+}
+
+MyType& MyClass::myMethode() {
+ const MyType& t = getSomewhere();
+}