diff options
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/test/casttovoid.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/test/casttovoid.cxx b/compilerplugins/clang/test/casttovoid.cxx index e82118259df9..9904c8b5a3e4 100644 --- a/compilerplugins/clang/test/casttovoid.cxx +++ b/compilerplugins/clang/test/casttovoid.cxx @@ -57,8 +57,8 @@ struct S1 { (void) n1; // expected-error {{unnecessary cast to void [loplugin:casttovoid]}} (void) n2; // expected-error {{unnecessary cast to void [loplugin:casttovoid]}} } - int const & n1_; - int const & n2_; + int const n1_; + int const n2_; }; struct S2 { int n; }; |