[#BloombergLP-bsls-ProtocolTest_Status-fail]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bsls.adoc[bsls]::xref:BloombergLP/bsls/ProtocolTest_Status.adoc[ProtocolTest&lowbar;Status]::fail
:relfileprefix: ../../../
:mrdocs:

Record a test failure by increasing the number of `failures` and setting the status of the last test to `false`&period;

== Synopsis

Declared in `&lt;bsls&lowbar;protocoltest&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
fail();
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
