summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/stringview.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/stringview.cxx')
-rw-r--r--compilerplugins/clang/test/stringview.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/stringview.cxx b/compilerplugins/clang/test/stringview.cxx
index 66d35975bf13..34accb6e6448 100644
--- a/compilerplugins/clang/test/stringview.cxx
+++ b/compilerplugins/clang/test/stringview.cxx
@@ -73,6 +73,7 @@ void f3(OUString s1)
s2 = "xxx" + s1.copy(1);
// expected-error@+1 {{rather than copy, pass with a view using subView() [loplugin:stringview]}}
s2 += s1.copy(1);
+ (void)s2;
}
void f3(OString s1)
{