Improve tests for valid values of iostream bitmask types
authorJonathan Wakely <jwakely@redhat.com>
Wed, 25 Nov 2015 13:49:06 +0000 (13:49 +0000)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 25 Nov 2015 13:49:06 +0000 (13:49 +0000)
commit75837d7b135b23fa6d8a5cb349501914be8e34bc
tree943e7d861e79466faf4e13a1b55ccac89bd405e2
parent7f085cafa420d8a90b8d1585d54c1c87c589e12e
Improve tests for valid values of iostream bitmask types

* testsuite/27_io/ios_base/types/fmtflags/case_label.cc: Explicitly
check minimum and maximum values, and size of underlying type.
* testsuite/27_io/ios_base/types/iostate/case_label.cc: Likewise.
* testsuite/27_io/ios_base/types/openmode/case_label.cc: Likewise.

From-SVN: r230868
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/27_io/ios_base/types/fmtflags/case_label.cc
libstdc++-v3/testsuite/27_io/ios_base/types/iostate/case_label.cc
libstdc++-v3/testsuite/27_io/ios_base/types/openmode/case_label.cc