diff --git a/compilerplugins/clang/test/redundantcast.cxx b/compilerplugins/clang/test/redundantcast.cxx index f3573d0ad20d..47a155c64b37 100644 --- a/compilerplugins/clang/test/redundantcast.cxx +++ b/compilerplugins/clang/test/redundantcast.cxx @@ -348,7 +348,7 @@ void testSuspiciousReinterpretCast() { void testDynamicCast() { - struct S1 { virtual ~S1(); }; + struct S1 { virtual ~S1() {} }; struct S2 final: S1 {}; struct S3: S1 {};