]> git.ipfire.org Git - thirdparty/gcc.git/commit
Improve tests for std::vector<bool> printer
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jun 2019 09:04:55 +0000 (09:04 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 20 Jun 2019 09:04:55 +0000 (09:04 +0000)
commit1c96a8f432ae5b718277d4f300197c12d8c71d1a
tree27f9ae86670fc8c7b0911535e76af91cdd13c923
parent393c7ec6b17ab2005934828eb8c41686b9914667
Improve tests for std::vector<bool> printer

The current tests wouldn't notice if the vector<bool> contents were
printed in reverse, because it would read the same forwards and
backwards. Change the content so the tests would fail if that happened.

* testsuite/libstdc++-prettyprinters/simple.cc: Use non-palindromic
vector<bool> for test.
* testsuite/libstdc++-prettyprinters/simple11.cc: Likewise.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@272499 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple11.cc