Put this input stream in an invalid state.
Declared in <bslx_testinstream.h>
void
invalidate();
This function has no effect if this stream is already invalid. Note that this function should be called whenever a value extracted from this stream is determined to be invalid, inconsistent, or otherwise incorrect.