[#BloombergLP-bsls-ProtocolTest-testVirtualDestructor] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTest.adoc[ProtocolTest]::testVirtualDestructor :relfileprefix: ../../../ :mrdocs: Return `true` (i.e., the test passed) if the protocol class being tested has a virtual destructor and return `false` (i.e., the test failed) otherwise. Increase the `failures` count and set `lastStatus` to `false` on failure. == Synopsis Declared in `<bsls_protocoltest.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- bool testVirtualDestructor(); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#