diff options
Diffstat (limited to 'compilerplugins/clang/test/convertlong.cxx')
-rw-r--r-- | compilerplugins/clang/test/convertlong.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compilerplugins/clang/test/convertlong.cxx b/compilerplugins/clang/test/convertlong.cxx index 850da3edebf1..020cdbb68090 100644 --- a/compilerplugins/clang/test/convertlong.cxx +++ b/compilerplugins/clang/test/convertlong.cxx @@ -32,6 +32,7 @@ void main2() int tmp2 = (sal_uLong)1; tmp2 = (long)1; + (void)tmp2; sal_uIntPtr tmp3 = x + y; // expected-error-re@-1 {{rather replace type of decl 'sal_uIntPtr' (aka 'unsigned {{.+}}') with 'int' [loplugin:convertlong]}} |