PR libstdc++/65229 fix pretty printer for std::bitset<0>
authorMartin Sebor <msebor@redhat.com>
Fri, 23 Nov 2018 16:12:03 +0000 (16:12 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 23 Nov 2018 16:12:03 +0000 (16:12 +0000)
commit14a9206d0c7c72a4df645e340cf12bfbaa1b1115
treedf73e1a0dff863565c59a655d584aebcd47eb159
parent11aa881f9847bb1ae162aabf243a5c43f7a0f48f
PR libstdc++/65229 fix pretty printer for std::bitset<0>

2018-11-23  Martin Sebor  <msebor@redhat.com>
    Jonathan Wakely  <jwakely@redhat.com>

PR libstdc++/65229
* python/libstdcxx/v6/printers.py (StdBitsetPrinter): Handle
exception thrown for std::bitset<0>.
* testsuite/libstdc++-prettyprinters/simple.cc: Test std::bitset<0>.

Co-Authored-By: Jonathan Wakely <jwakely@redhat.com>
From-SVN: r266409
libstdc++-v3/ChangeLog
libstdc++-v3/python/libstdcxx/v6/printers.py
libstdc++-v3/testsuite/libstdc++-prettyprinters/simple.cc