summaryrefslogtreecommitdiff
path: root/compilerplugins/clang/test/implicitboolconversion.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'compilerplugins/clang/test/implicitboolconversion.cxx')
-rw-r--r--compilerplugins/clang/test/implicitboolconversion.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/implicitboolconversion.cxx b/compilerplugins/clang/test/implicitboolconversion.cxx
index fa5a2b84b905..122ee363ae68 100644
--- a/compilerplugins/clang/test/implicitboolconversion.cxx
+++ b/compilerplugins/clang/test/implicitboolconversion.cxx
@@ -9,6 +9,7 @@
#include <sal/config.h>
+#include <array>
#include <atomic>
#include <initializer_list>
@@ -75,6 +76,8 @@ void f()
h(w1.element);
css::uno::Sequence<sal_Bool> s7(1);
h(s7[0]);
+ std::array<sal_Bool, 1> s8;
+ s8[0] = false;
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */