summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/passparamsbyref.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/passparamsbyref.cxx')
-rw-r--r--compilerplugins/clang/test/passparamsbyref.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/passparamsbyref.cxx b/compilerplugins/clang/test/passparamsbyref.cxx
index e58aa79bcaa8..010556a67b6e 100644
--- a/compilerplugins/clang/test/passparamsbyref.cxx
+++ b/compilerplugins/clang/test/passparamsbyref.cxx
@@ -9,6 +9,9 @@
#include <rtl/ustring.hxx>
+#pragma clang diagnostic ignored "-Wunknown-warning-option" // for Clang < 13
+#pragma clang diagnostic ignored "-Wunused-but-set-variable"
+
struct S {
OUString mv1;
OUString mv2;