summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/redundantfcast.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/redundantfcast.cxx')
-rw-r--r--compilerplugins/clang/test/redundantfcast.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/redundantfcast.cxx b/compilerplugins/clang/test/redundantfcast.cxx
index 255c1d44b2a7..d9aad3619075 100644
--- a/compilerplugins/clang/test/redundantfcast.cxx
+++ b/compilerplugins/clang/test/redundantfcast.cxx
@@ -61,6 +61,7 @@ int main()
OUString s2;
s2 = OUString(
s1); // expected-error@-1 {{redundant functional cast from 'rtl::OUString' to 'rtl::OUString' [loplugin:redundantfcast]}}
+ (void)s2;
Color col1;
Color col2 = Color(