diff options
Diffstat (limited to 'compilerplugins/clang/test')
-rw-r--r-- | compilerplugins/clang/test/fakebool.cxx (renamed from compilerplugins/clang/test/salbool.cxx) | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/compilerplugins/clang/test/salbool.cxx b/compilerplugins/clang/test/fakebool.cxx index da861afe73be..26b5d7e2f791 100644 --- a/compilerplugins/clang/test/salbool.cxx +++ b/compilerplugins/clang/test/fakebool.cxx @@ -11,8 +11,12 @@ #include <sal/types.h> +namespace { + struct S { - sal_Bool b; // expected-error {{FieldDecl, use "bool" instead of "sal_Bool" [loplugin:salbool]}} + sal_Bool b; // expected-error {{FieldDecl, use "bool" instead of 'sal_Bool' (aka 'unsigned char') [loplugin:fakebool]}} }; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab cinoptions=b1,g0,N-s cinkeys+=0=break: */ |