+2016-10-17 Paolo Carlini <paolo.carlini@oracle.com>
+
+ * testsuite/27_io/basic_filebuf/close/12790-1.cc: Remove 'test'
+ variables.
+ * testsuite/27_io/basic_filebuf/close/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/char/5.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/wchar_t/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/wchar_t/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/wchar_t/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/close/wchar_t/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/cons/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/cons/wchar_t/10132-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/12206.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/13007.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/13171-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/13171-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/13582-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/14975-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/char/9322.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/12868.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/13007.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/13171-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/13582-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/imbue/wchar_t/9322.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/in_avail/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/in_avail/char/9701-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/is_open/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/char/4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/open/char/9507.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/2-unbuf.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/3599.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/9169.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/9182-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/char/9988.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/overflow/wchar_t/11305-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/pbackfail/char/9761.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sbumpc/char/9825.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/10132-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/45628-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/11543.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/12232.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/3-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/3-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/3-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/char/45628-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/11543.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekoff/wchar_t/9875_seekoff.cc:
+ Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/10132-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/3-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/3-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/char/3-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/12790-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9874.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/seekpos/wchar_t/9875_seekpos.cc:
+ Likewise.
+ * testsuite/27_io/basic_filebuf/setbuf/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/setbuf/char/12875-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/setbuf/char/12875-2.cc
+ * testsuite/27_io/basic_filebuf/setbuf/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/setbuf/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sgetn/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/showmanyc/char/9533-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/showmanyc/char/9533-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/snextc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputbackc/char/9425.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/59427.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputc/char/9701-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/59427.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/9339.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sputn/char/9701-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/1-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/1-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/1-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/2-in.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/2-io.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sungetc/char/2-out.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sync/char/1057.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/sync/char/9182-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/char/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/char/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/char/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/char/45841.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/char/9027.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11389-4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-1.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11544-2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/11603.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/45841.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/5.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/9178.cc: Likewise.
+ * testsuite/27_io/basic_filebuf/underflow/wchar_t/9520.cc: Likewise.
+ * testsuite/27_io/basic_fstream/cons/1.cc: Likewise.
+ * testsuite/27_io/basic_fstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_ifstream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_ifstream/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ifstream/open/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ifstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_ios/clear/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ios/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_ios/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ios/cons/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ios/cons/char/3.cc: Likewise.
+ * testsuite/27_io/basic_ios/copyfmt/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ios/copyfmt/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ios/exceptions/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ios/imbue/14072.cc: Likewise.
+ * testsuite/27_io/basic_ios/locales/char/1.cc: Likewise.
+ * testsuite/27_io/basic_iostream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_istream/cons/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/exceptions/char/9561.cc: Likewise.
+ * testsuite/27_io/basic_istream/exceptions/wchar_t/9561.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/01.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/02.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/03.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/06.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/07.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/08.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/09.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/10.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/11.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/12.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/13.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/9555-ia.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/dr696.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/
+ exceptions_failbit.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/char/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/pod/3983-1.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/01.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/02.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/03.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/06.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/07.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/08.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/09.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/10.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/11.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/12.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/13.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/
+ wchar_t/9555-ia.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
+ dr696.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
+ exceptions_failbit.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_arithmetic/wchar_t/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/1.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/11095-i.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/2.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/3.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/4.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/char/9555-ic.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/pod/3983-2.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/1.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/
+ 11095-i.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/2.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/3.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/4.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_character/wchar_t/
+ 9555-ic.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/26181.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/9318-in.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/9424-in.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/9555-io.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/
+ error_failbit.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/char/
+ exceptions_null.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/pod/3983-3.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/26181.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/9318-in.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/9424-in.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/9555-io.cc:
+ Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/
+ error_failbit.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/extractors_other/wchar_t/
+ exceptions_null.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/get/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/4.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/5.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/char/6.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/5.cc: Likewise.
+ * testsuite/27_io/basic_istream/getline/wchar_t/6.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/char/6360.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/char/7220.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/wchar_t/6360.cc: Likewise.
+ * testsuite/27_io/basic_istream/ignore/wchar_t/7220.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/char/12296.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/char/6414.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/wchar_t/12296.cc: Likewise.
+ * testsuite/27_io/basic_istream/peek/wchar_t/6414.cc: Likewise.
+ * testsuite/27_io/basic_istream/putback/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/putback/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/read/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/char/6746-1.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/char/6746-2.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/char/8258.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/wchar_t/6746-1.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/wchar_t/6746-2.cc: Likewise.
+ * testsuite/27_io/basic_istream/readsome/wchar_t/8258.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/26211.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/8348-1.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/8348-2.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/fstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/char/sstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/26211.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/8348-1.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/8348-2.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/fstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/seekg/wchar_t/sstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/char/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/pod/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/sentry/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/26211.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/8348.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/fstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/char/sstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/26211.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/8348.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/fstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/tellg/wchar_t/sstream.cc: Likewise.
+ * testsuite/27_io/basic_istream/ws/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istream/ws/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_istringstream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_istringstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_istringstream/rdbuf/wchar_t/2832.cc: Likewise.
+ * testsuite/27_io/basic_istringstream/str/char/1.cc: Likewise.
+ * testsuite/27_io/basic_istringstream/str/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ofstream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_ofstream/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ofstream/open/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ofstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_ostream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_ostream/cons/char/9827.cc: Likewise.
+ * testsuite/27_io/basic_ostream/cons/wchar_t/9827.cc: Likewise.
+ * testsuite/27_io/basic_ostream/endl/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/endl/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/ends/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/ends/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/ends/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/ends/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/exceptions/char/9561.cc: Likewise.
+ * testsuite/27_io/basic_ostream/exceptions/wchar_t/9561.cc: Likewise.
+ * testsuite/27_io/basic_ostream/flush/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/flush/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/flush/char/exceptions_badbit_throw.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/flush/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/flush/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/flush/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/1.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/2.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/3.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/4402.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/5.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/6.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/7.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/9555-oa.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/char/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/pod/23875.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/1.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/2.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/3.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/4402.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/5.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/6.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/7.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
+ 9555-oa.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_arithmetic/wchar_t/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/11095-oa.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/11095-ob.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/11095-oc.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/28277-3.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/28277-4.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/3.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/4.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/5.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/6.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/8.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/char/9555-oc.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 11095-od.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 11095-oe.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 11095-of.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/2.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 28277-1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 28277-2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 28277-3.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 28277-4.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/3.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/4.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/5.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/6.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/7.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/8.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_character/wchar_t/
+ 9555-oc.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/3.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/4.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/5.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/9318-out.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/9424-out.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/9555-oo.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc:
+ Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/
+ error_failbit.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/char/
+ exceptions_null.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/5.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ 9318-out.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ 9424-out.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ 9555-oo.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ error_code.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ error_failbit.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ exceptions_failbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/inserters_other/wchar_t/
+ exceptions_null.cc: Likewise.
+ * testsuite/27_io/basic_ostream/put/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/put/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/char/2346-fstream.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/char/2346-sstream.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-fstream.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/wchar_t/2346-sstream.cc: Likewise.
+ * testsuite/27_io/basic_ostream/seekp/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/sentry/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/sentry/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/sentry/pod/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/sentry/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/sentry/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/char/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_ostream/tellp/wchar_t/
+ exceptions_badbit_throw.cc: Likewise.
+ * testsuite/27_io/basic_ostream/write/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostream/write/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/cons/char/3.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/cons/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/rdbuf/wchar_t/2832.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/str/char/1.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/str/char/2.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/str/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_ostringstream/str/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/cons/57394.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/cons/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/char/13007-1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/char/13007-2.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/char/9322.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/wchar_t/13007-2.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/imbue/wchar_t/9322.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/in_avail/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/in_avail/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/char/2.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/char/3599.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/overflow/wchar_t/3599.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetn/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sgetn/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sputbackc/char/9538.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sputbackc/wchar_t/9538.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sputn/char/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sputn/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sync/char/1057.cc: Likewise.
+ * testsuite/27_io/basic_streambuf/sync/wchar_t/1057.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/cons/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/cons/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/imbue/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/imbue/char/9322.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/imbue/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/imbue/wchar_t/9322.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/in_avail/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/in_avail/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/char/26250.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/char/3599.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/char/9988.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/wchar_t/26250.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/wchar_t/3599.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/overflow/wchar_t/9988.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/pbackfail/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/pbackfail/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/pbackfail/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sbumpc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sbumpc/char/9825.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sbumpc/wchar_t/9825.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/char/10975.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/char/16956.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/10975.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/16956.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekoff/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/char/29354.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/char/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/29354.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/seekpos/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/char/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/char/4.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/setbuf/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sgetc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sgetc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sgetn/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sgetn/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/snextc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/snextc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputbackc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputbackc/char/9425.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputbackc/wchar_t/9425.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputc/char/9404-1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputc/wchar_t/9404-1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputn/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputn/char/9404-2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputn/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sputn/wchar_t/9404-2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/char/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/char/3955.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/str/wchar_t/3955.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sungetc/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sungetc/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sync/char/1057.cc: Likewise.
+ * testsuite/27_io/basic_stringbuf/sync/wchar_t/1057.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/cons/2020.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/rdbuf/char/2832.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/rdbuf/wchar_t/2832.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/char/1.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/char/2.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/char/3.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/char/4.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/wchar_t/3.cc: Likewise.
+ * testsuite/27_io/basic_stringstream/str/wchar_t/4.cc: Likewise.
+ * testsuite/27_io/fpos/11450.cc: Likewise.
+ * testsuite/27_io/fpos/14252.cc: Likewise.
+ * testsuite/27_io/fpos/14320-1.cc: Likewise.
+ * testsuite/27_io/fpos/14320-2.cc: Likewise.
+ * testsuite/27_io/fpos/14320-3.cc: Likewise.
+ * testsuite/27_io/fpos/14320-4.cc: Likewise.
+ * testsuite/27_io/fpos/14320-5.cc: Likewise.
+ * testsuite/27_io/fpos/14775.cc: Likewise.
+ * testsuite/27_io/fpos/mbstate_t/1.cc: Likewise.
+ * testsuite/27_io/fpos/mbstate_t/12065.cc: Likewise.
+ * testsuite/27_io/fpos/mbstate_t/2.cc: Likewise.
+ * testsuite/27_io/fpos/mbstate_t/3.cc: Likewise.
+ * testsuite/27_io/ios_base/callbacks/1.cc: Likewise.
+ * testsuite/27_io/ios_base/failure/what-1.cc: Likewise.
+ * testsuite/27_io/ios_base/failure/what-2.cc: Likewise.
+ * testsuite/27_io/ios_base/failure/what-3.cc: Likewise.
+ * testsuite/27_io/ios_base/failure/what-big.cc: Likewise.
+ * testsuite/27_io/ios_base/state/1.cc: Likewise.
+ * testsuite/27_io/ios_base/storage/1.cc: Likewise.
+ * testsuite/27_io/ios_base/storage/11584.cc: Likewise.
+ * testsuite/27_io/ios_base/storage/2.cc: Likewise.
+ * testsuite/27_io/ios_base/sync_with_stdio/2.cc: Likewise.
+ * testsuite/27_io/manipulators/adjustfield/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/adjustfield/char/2.cc
+ * testsuite/27_io/manipulators/adjustfield/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/manipulators/adjustfield/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/manipulators/basefield/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/basefield/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/get_money/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/get_money/char/51288.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/get_money/wchar_t/1.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/get_money/wchar_t/51288.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/get_time/char/1.cc
+ * testsuite/27_io/manipulators/extended/get_time/char/2.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/get_time/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/get_time/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/put_money/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/put_money/char/51288.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/put_money/wchar_t/1.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/put_money/wchar_t/51288.cc:
+ Likewise.
+ * testsuite/27_io/manipulators/extended/put_time/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/put_time/char/2.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/put_time/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/manipulators/extended/put_time/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/char/1.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/char/2.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/char/dr2344.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/char/quoted.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/wchar_t/2.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/wchar_t/dr2344.cc: Likewise.
+ * testsuite/27_io/manipulators/standard/wchar_t/quoted.cc: Likewise.
+ * testsuite/27_io/objects/char/1.cc: Likewise.
+ * testsuite/27_io/objects/char/10.cc: Likewise.
+ * testsuite/27_io/objects/char/3045.cc: Likewise.
+ * testsuite/27_io/objects/char/41037.cc: Likewise.
+ * testsuite/27_io/objects/char/5.cc: Likewise.
+ * testsuite/27_io/objects/char/6.cc: Likewise.
+ * testsuite/27_io/objects/char/6548_xin.cc: Likewise.
+ * testsuite/27_io/objects/char/6648-1_xin.cc: Likewise.
+ * testsuite/27_io/objects/char/6648-2_xin.cc: Likewise.
+ * testsuite/27_io/objects/char/7744_xin.cc: Likewise.
+ * testsuite/27_io/objects/char/8.cc: Likewise.
+ * testsuite/27_io/objects/char/9.cc: Likewise.
+ * testsuite/27_io/objects/char/9661-2_xin.cc: Likewise.
+ * testsuite/27_io/objects/char/dr455.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/1.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/10.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/11.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/12.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/13.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/13582-1_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/3045.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/41037.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/5.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/6548_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/6648-1_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/6648-2_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/7744_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/8.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/9520.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/9661-2_xin.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/9662.cc: Likewise.
+ * testsuite/27_io/objects/wchar_t/dr455.cc: Likewise.
+ * testsuite/27_io/types/3.cc: Likewise.
+
2016-10-17 Jonathan Wakely <jwakely@redhat.com>
PR libstdc++/77994
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
locale loc(locale::classic(),
// Test member functions.
void test_01()
{
- bool test __attribute__((unused)) = true;
const char* name_03 = "filebuf_members-3"; // empty file, need to create
std::filebuf fb_01; // in
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
void test_02()
{
- bool test __attribute__((unused)) = true;
int close_num = 0;
// read (ext)
typedef std::filebuf::off_type off_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
std::filebuf f_tmp;
fb_01.open(name_01, std::ios_base::in);
{
typedef std::filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
std::filebuf fb_01, fb_02;
char buffer[] = "xxxxxxxxxx";
void test_05()
{
- bool test __attribute__((unused)) = true;
-
Close_filebuf fb_01, fb_02;
char buffer[] = "xxxxxxxxxx";
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_close_12790";
Cvt* cvt = new Cvt;
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
+ bool test = true;
typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf;
try
// http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html
void test01()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::constraint_filebuf fbuf;
VERIFY( fbuf.check_pointers() );
}
// http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html
void test01()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::constraint_wfilebuf fbuf;
VERIFY( fbuf.check_pointers() );
}
int main()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc = std::locale(std::locale::classic(), new Cvt);
std::wfilebuf* fb = new std::wfilebuf;
fb->pubimbue(loc);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
-
+
locale loc(locale::classic(),
new codecvt<Char, char, std::mbstate_t>);
locale::global(loc);
// libstdc++/13007
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::locale loc(std::locale(ISO_8859(15,fr_FR)));
// libstdc++/13171
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf fb;
// libstdc++/13171
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf fb;
// libstdc++/13582
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
using namespace __gnu_test;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
Buf fb;
locale loc_us = locale(ISO_8859(1,en_US));
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
locale loc;
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_s(locale::classic(), new state_codecvt);
filebuf ob;
void test07()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc;
std::filebuf ob;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_is(locale("is_IS.UTF-8"));
// libstdc++/13007
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::locale loc(std::locale(ISO_8859(15,fr_FR)));
// libstdc++/13171
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
locale::global(locale(ISO_8859(15,fr_FR)));
// libstdc++/13582
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
using namespace __gnu_test;
// libstdc++/13582
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
locale loc_en(locale(ISO_8859(1,en_US)));
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char name_01[] = "filebuf_virtuals-1.txt"; // file with data in it
locale loc;
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_s(locale::classic(), new state_codecvt);
wfilebuf ob;
void test07()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc;
std::wfilebuf ob;
typedef std::filebuf::off_type off_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
std::filebuf f_tmp;
std::streamoff strmof_1, strmof_2;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_file1";
Derived_fbuf df2;
// Test member functions.
void test_01()
{
- bool test __attribute__((unused)) = true;
const char* name_03 = "filebuf_members-3"; // empty file, need to create
std::filebuf fb_01; // in
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_open_12790";
locale loc(locale::classic(),
// Test member functions.
void test_01()
{
- bool test __attribute__((unused)) = true;
const char* name_03 = "filebuf_members-3"; // empty file, need to create
std::filebuf fb_01; // in
void test_03()
{
- bool test __attribute__((unused)) = true;
int first_fd = ::open(name_01, O_RDONLY);
VERIFY( first_fd != -1 );
FILE* first_file = ::fdopen(first_fd, "r");
// Charles Leggett <CGLeggett@lbl.gov>
void test_05()
{
- bool test __attribute__((unused)) = true;
const char* name = "tmp_file5";
std::fstream scratch_file;
// DR 596.
void test01()
{
- bool test __attribute__((unused)) = true;
const char* name = "tmp_file4";
std::fstream scratch_file;
void test_06()
{
using namespace __gnu_test;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_fifo2";
signal(SIGPIPE, SIG_IGN);
void test03()
{
- bool test __attribute__((unused)) = true;
const std::string control01("11111");
std::string test01;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef OverBuf::traits_type traits_type;
OverBuf fb;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef OverBuf::traits_type traits_type;
OverBuf fb;
void
test07()
{
- bool test __attribute__((unused)) = true;
testbuf ob;
std::ostream out(&ob);
void test10()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale c_loc = locale::classic();
locale loc(c_loc, new Cvt_to_upper);
void test14()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc = locale::classic();
loc = locale(loc, new errorcvt);
void test15()
{
using namespace std;
- bool test __attribute__((unused)) = true;
OverBuf fb;
fb.open(name_08, ios_base::out | ios_base::trunc);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wfilebuf fb;
locale loc(locale("en_US.UTF-8"));
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wfilebuf fb;
locale loc(locale("en_US.UTF-8"));
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wfilebuf fb;
locale loc(locale("en_US.UTF-8"));
void test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wfilebuf fb;
locale loc(locale("en_US.UTF-8"));
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbuf;
filebuf::int_type r1, r2;
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
// int_type sbumpc()
// if read_cur not avail returns uflow(), else return *read_cur & increment
void test12()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbuf;
// libstdc++/10132, add on
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf;
try
obj.pubseekoff(2, std::ios_base::beg);
}
catch(std::exception& obj)
- {
- test = false;
- VERIFY( test );
+ {
+ VERIFY( false );
}
}
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
locale loc(locale::classic(),
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
locale loc(locale::classic(),
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
locale loc(locale::classic(),
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
locale loc(locale::classic(),
// libstdc++/45628
void test01()
{
- bool test __attribute__((unused)) = true;
-
using __gnu_test::pod_uchar;
std::locale loc(std::locale::classic(),
new std::codecvt<my_filebuf::traits_type::char_type, char,
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
typedef filebuf::pos_type pos_type;
typedef filebuf::off_type off_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc(std::locale::classic(),
new std::codecvt<char, char, MyState>);
std::basic_filebuf<char, MyCharTraits> fb;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open(name, ios_base::out);
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
typedef filebuf::pos_type pos_type;
typedef filebuf::off_type off_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
int_type c1;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef filebuf::pos_type pos_type;
const char name[] = "tmp_seekoff-4.tst";
// libstdc++/45628
void test01()
{
- bool test __attribute__((unused)) = true;
-
my_filebuf q;
q.open(name_01, std::ios_base::in | std::ios_base::out
| std::ios_base::trunc);
typedef wfilebuf::pos_type pos_type;
typedef wfilebuf::int_type int_type;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_seekoff-1.tst";
const int_type eof = wfilebuf::traits_type::eof();
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc(std::locale::classic(),
new std::codecvt<wchar_t, char, MyState>);
std::basic_filebuf<wchar_t, MyCharTraits> fb;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
typedef wfilebuf::int_type int_type;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_seekoff-2.tst";
locale loc = locale("se_NO.UTF-8");
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekoff_3";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef wfilebuf::pos_type pos_type;
const char name[] = "tmp_seekoff-4.tst";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// seekoff
wfilebuf fb;
// libstdc++/10132, add on
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_filebuf<__gnu_test::pod_ushort> gnu_filebuf;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
locale loc(locale::classic(),
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
locale loc(locale::classic(),
using __gnu_test::pod_uchar;
typedef basic_filebuf<pod_uchar>::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
locale loc(locale::classic(),
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
typedef filebuf::pos_type pos_type;
typedef filebuf::off_type off_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
typedef filebuf::pos_type pos_type;
typedef filebuf::off_type off_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
typedef filebuf::off_type off_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
int_type c1;
int_type c2;
int_type c3;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test02(std::filebuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_1";
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_seekpos_12790";
Cvt* cvt = new Cvt;
typedef wfilebuf::int_type int_type;
typedef vector<pair<pos_type, size_t> > vec_type;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_seekpos-9874.tst";
const int_type eof = wfilebuf::traits_type::eof();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// seekpos
wfilebuf fb;
bool
check_pointers()
{
- bool test __attribute__((unused)) = true;
+ bool test = true;
test = (!this->pbase());
test &= (!this->pptr());
return test;
typedef std::filebuf::off_type off_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
-
{
testbuf f_tmp;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_setbuf4";
static char buf[1024];
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_setbuf5";
static char buf[1024];
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buf[512];
const char* strlit = "how to tell a story and other essays: mark twain";
const size_t strlitsize = std::strlen(strlit);
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buf[512];
const char* strlit = "how to tell a story and other essays: mark twain";
const size_t strlitsize = std::strlen(strlit);
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sgetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sgetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sgetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sgetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sgetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sgetc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray1[13] = "";
char carray2[8192] = "";
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray1[13] = "";
char carray2[8192] = "";
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray2[8192] = "";
int_type c2, c4;
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray1[13] = "";
char carray2[8192] = "";
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray1[13] = "";
char carray2[8192] = "";
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
-
streamsize strmsz_1, strmsz_2;
char carray2[8192] = "";
int_type c2;
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buffer[] = "xxxxxxxxxx";
typedef filebuf::int_type int_type;
filebuf fbuf01;
{
using namespace std;
using namespace __gnu_test;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_fifo1";
const int count = 10000;
void test_02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_file1";
const char* strlit = "0123456789";
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1;
// int_type snextc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c3;
// int_type snextc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c2;
// int_type snextc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1;
// int_type snextc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c3;
// int_type snextc()
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c2;
// int_type snextc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sputbackc(char_type c)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
int_type c1, c2, c3;
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputbackc(char_type c)
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sputbackc(char_type c)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
int_type c1, c2, c3;
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputbackc(char_type c)
void test09()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbuf;
fbuf.open(name_01, ios_base::in);
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c3;
// int_type sputc(char_type c)
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputc(char_type c)
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputc(char_type c)
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c3;
// int_type sputc(char_type c)
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputc(char_type c)
typedef filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sputc(char_type c)
// libstdc++/59427
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf a_f;
// libstdc++/9701 (partial)
void test11()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
// sputc
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
// streamsize sputn(const char_typs* s, streamsize n)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
// streamsize sputn(const char_typs* s, streamsize n)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
// streamsize sputn(const char_typs* s, streamsize n)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
// streamsize sputn(const char_typs* s, streamsize n)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
// streamsize sputn(const char_typs* s, streamsize n)
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1;
// streamsize sputn(const char_typs* s, streamsize n)
// libstdc++/59427
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf a_f;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbuf01;
int len = 35;
// libstdc++/9701 (partial)
void test11()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
// sputn
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sungetc()
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
int_type c1, c2;
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sungetc()
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2, c3;
// int_type sungetc()
typedef filebuf::traits_type traits_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
streamsize strmsz_1, strmsz_2;
int_type c1, c2;
typedef std::filebuf::int_type int_type;
typedef filebuf::traits_type traits_type;
- bool test __attribute__((unused)) = true;
int_type c1, c2;
// int_type sungetc()
// libstdc++/1057
void test04()
{
- bool test __attribute__((unused)) = true;
std::string text = "abcdefghijklmn";
// 01
void test13()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc = locale::classic();
loc = locale(loc, new errorcvt);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "filebuf_virtuals-1.txt";
string str;
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf fb_out, fb_in_out;
// See Novell Bug 255122
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
const char* name = "tmp_underflow_3.tst";
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
filebuf fb_in_out;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "filebuf_virtuals-1.txt";
locale loc (locale::classic(), new Cvt_to_upper);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_underflow-1.tst";
const char cstr[] =
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open(name_01, ios_base::out);
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open(name_02, ios_base::out);
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open(name_03, ios_base::out);
void test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open(name_04, ios_base::out);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new checksumcvt<wchar_t>);
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new checksumcvt<wchar_t>);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
filebuf fbout;
fbout.open("tmp_11603", ios_base::out);
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_underflow-2.tst";
const char cstr[] =
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char name[] = "tmp_underflow-3.tst";
const char cstr[] =
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
locale loc (locale("se_NO.UTF-8"));
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
wfilebuf fb_in_out;
void test05()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_underflow-5";
wfilebuf fb;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc;
loc = locale(loc, new checksumcvt<wchar_t>);
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_9520";
FILE* file = fopen(name, "w");
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_fstream<__gnu_test::pod_ushort> gnu_fstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_ifstream<__gnu_test::pod_ushort> gnu_ifstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// http://gcc.gnu.org/ml/libstdc++/2000-07/msg00004.html
void test02()
{
- bool test __attribute__((unused)) = true;
const int more_than_max_open_files = 8200;
for (int i = 0; ++i < more_than_max_open_files;)
// http://gcc.gnu.org/ml/libstdc++/2000-06/msg00136.html
void test01()
{
- bool test __attribute__((unused)) = true;
std::ifstream ifs1;
ifs1.close();
// libstdc++/2832
void test03()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
// 27.4.4.3 basic_ios iostate flags function
void test01()
{
- bool test __attribute__((unused)) = true;
-
typedef std::ios_base::fmtflags fmtflags;
typedef std::ios_base::iostate iostate;
using std::ios_base;
void test07()
{
- bool test __attribute__((unused)) = true;
-
try
{ gnu_ios obj; }
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
void test01()
{
- bool test __attribute__((unused)) = true;
std::string str_01("jade cove, big sur");
std::string str_05;
std::stringbuf strb_01;
void test01()
{
- bool test __attribute__((unused)) = true;
+ bool test = true;
// 01: Doesn't call basic_ios::init, which uses ctype<char_type>..
// This should be unambiguously correct.
void test02()
{
- bool test __attribute__((unused)) = true;
+ bool test = true;
// 02: Calls basic_ios::init, which may call ctype<char_type>...
try
// 27.4.4.3 basic_ios iostate flags function
void test02()
{
- bool test __attribute__((unused)) = true;
-
typedef std::ios_base::fmtflags fmtflags;
typedef std::ios_base::iostate iostate;
using std::ios_base;
// copyfmt and locales.
void test03()
{
- bool test __attribute__((unused)) = true;
-
using namespace std;
typedef std::ios_base::fmtflags fmtflags;
void test01()
{
- bool test __attribute__((unused)) = true;
-
typedef std::ios_base::fmtflags fmtflags;
typedef std::ios_base::iostate iostate;
using std::ios_base;
// libstdc++/14072
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
locale loc;
void test01()
{
- bool test __attribute__((unused)) = true;
const std::locale c_loc = std::locale::classic();
std::ios ios_01(0);
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_iostream<__gnu_test::pod_ushort> gnu_iostr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_istream<__gnu_test::pod_ushort> gnu_istr;
try
{ gnu_istr obj(0); }
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf b;
std::istream strm (&b);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf b;
std::wistream strm (&b);
std::stringstream ss_01(str_01);
// minimal sanity check
-bool test01() {
-
- bool test __attribute__((unused)) = true;
+void test01() {
// Integral Types:
bool b1 = false;
VERIFY( f1 == 1.5 );
is_04 >> std::hex >> i1;
- std::printf ("%d %d %d\n", i1, i1 == 0x123, test);
+ std::printf ("%d %d\n", i1, i1 == 0x123);
VERIFY( i1 == 0x123 );
- std::printf ("%d %d %d\n", i1, i1 == 0x123, test);
+ std::printf ("%d %d\n", i1, i1 == 0x123);
// test void pointers
int i = 55;
ss_01 >> pi;
std::printf ("%p %p\n", pi, po);
VERIFY( po == pi );
- return test;
}
int main()
#include <testsuite_hooks.h>
// elaborated test for ints
-bool test02()
+void test02()
{
- bool test __attribute__((unused)) = true;
const std::string str_01("20000AB");
std::stringbuf strb_01(str_01, std::ios_base::in);
std::istream is(&strb_01);
VERIFY( n == 20000 );
char c = is.peek();
VERIFY( c == 65 );
- return test;
}
int main()
#include <locale>
#include <testsuite_hooks.h>
-bool test03()
+void test03()
{
std::stringbuf sbuf;
std::istream istr(&sbuf);
std::ostream ostr(&sbuf);
- bool test __attribute__((unused)) = true;
long l01;
ostr << "12220101";
istr >> l01; // _M_in_end set completely incorrectly here.
VERIFY( l01 == 12220101 );
VERIFY( istr.rdstate() == std::ios_base::eofbit );
- return test;
}
int main()
void test06()
{
// default locale, grouping is turned off
- bool test __attribute__((unused)) = true;
unsigned int h4;
char c;
std::string s("205,199,144");
void test07()
{
// manufactured locale, grouping is turned on
- bool test __attribute__((unused)) = true;
unsigned int h4 = 0, h3 = 0, h2 = 0;
float f1 = 0.0;
const std::string s1("205,199 23,445.25 1,024,365 123,22,24");
void test08()
{
// manufactured locale, grouping is turned on
- bool test __attribute__((unused)) = true;
unsigned int h4 = 0, h3 = 0, h2 = 0;
const std::string s1("1,22 205,19 22,123,22");
#include <locale>
#include <testsuite_hooks.h>
-bool test09()
+void test09()
{
- bool test __attribute__((unused)) = true;
-
std::string st("2.456e3-+0.567e-2");
std::stringbuf sb(st);
std::istream is(&sb);
(is>>std::ws) >> f1;
(is>>std::ws) >> c;
(is>>std::ws) >> f2;
- test = f1 == 2456;
+ VERIFY( f1 == 2456 );
VERIFY( f2 == 0.00567 );
VERIFY( c == '-' );
- return test;
}
int main()
#include <locale>
#include <testsuite_hooks.h>
-bool test10()
+void test10()
{
std::string str_01("0 00 000 +0 +0 -0");
std::stringbuf isbuf_01(str_01);
std::istream is_01(&isbuf_01);
- bool test __attribute__((unused)) = true;
-
int n = 365;
is_01 >> n;
VERIFY( n == 0 );
is_05.ignore();
is_05 >> n;
VERIFY( n == 16 );
- return test;
}
int main()
// In the presence of no fmtflags, the input operator should behave
// like strtol(x, y, 0)
// libstdc++/90
-bool test11()
+void test11()
{
- bool test __attribute__((unused)) = true;
const char* cstrlit = "0x2a";
// sanity check via 'C' library call
VERIFY (!iss.fail());
VERIFY (l == i);
-
- return test;
}
int main()
// libstdc++/3720
// excess input should not cause a core dump
template<typename T>
-bool test12_aux(bool integer_type)
+void test12_aux(bool integer_type)
{
- bool test __attribute__((unused)) = true;
-
int digits_overflow;
if (integer_type)
// This many digits will overflow integer types in base 10.
T t;
is >> t;
VERIFY(is.fail());
- return test;
}
bool test12()
{
- bool test __attribute__((unused)) = true;
- VERIFY(test12_aux<short>(true));
- VERIFY(test12_aux<int>(true));
- VERIFY(test12_aux<long>(true));
- VERIFY(test12_aux<float>(false));
- VERIFY(test12_aux<double>(false));
- VERIFY(test12_aux<long double>(false));
- return test;
+ test12_aux<short>(true);
+ test12_aux<int>(true);
+ test12_aux<long>(true);
+ test12_aux<float>(false);
+ test12_aux<double>(false);
+ test12_aux<long double>(false);
}
int main()
void test13()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* l2 = "1.2345678901234567890123456789012345678901234567890123456"
" "
"1246.9";
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::istream is(&b);
is.exceptions(std::ios::badbit);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
short s1 = 0;
ostringstream oss1;
void test_badbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_get_char);
istringstream stream("jaylib - champion sound");
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream stream("jaylib - champion sound");
stream.exceptions(ios_base::failbit);
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_get_char);
istringstream stream("jaylib - champion sound");
stringbuf_type strbuf01;
istream_type iss(&strbuf01);
- bool test __attribute__((unused)) = true;
-
try
{
int i;
std::wstringstream ss_01(str_01);
// minimal sanity check
-bool test01() {
-
- bool test __attribute__((unused)) = true;
+void test01() {
// Integral Types:
bool b1 = false;
VERIFY( f1 == 1.5 );
is_04 >> std::hex >> i1;
- std::printf ("%d %d %d\n", i1, i1 == 0x123, test);
+ std::printf ("%d %d\n", i1, i1 == 0x123);
VERIFY( i1 == 0x123 );
- std::printf ("%d %d %d\n", i1, i1 == 0x123, test);
+ std::printf ("%d %d\n", i1, i1 == 0x123);
// test void pointers
int i = 55;
ss_01 >> pi;
std::printf ("%p %p\n", pi, po);
VERIFY( po == pi );
- return test;
}
int main()
#include <testsuite_hooks.h>
// elaborated test for ints
-bool test02()
+void test02()
{
- bool test __attribute__((unused)) = true;
const std::wstring str_01(L"20000AB");
std::wstringbuf strb_01(str_01, std::ios_base::in);
std::wistream is(&strb_01);
VERIFY( n == 20000 );
wchar_t c = is.peek();
VERIFY( c == L'A' );
- return test;
}
int main()
#include <locale>
#include <testsuite_hooks.h>
-bool test03()
+void test03()
{
std::wstringbuf sbuf;
std::wistream istr(&sbuf);
std::wostream ostr(&sbuf);
- bool test __attribute__((unused)) = true;
long l01;
ostr << L"12220101";
istr >> l01; // _M_in_end set completely incorrectly here.
VERIFY( l01 == 12220101 );
VERIFY( istr.rdstate() == std::ios_base::eofbit );
- return test;
}
int main()
void test06()
{
// default locale, grouping is turned off
- bool test __attribute__((unused)) = true;
unsigned int h4;
wchar_t c;
std::wstring s(L"205,199,144");
void test07()
{
// manufactured locale, grouping is turned on
- bool test __attribute__((unused)) = true;
unsigned int h4 = 0, h3 = 0, h2 = 0;
float f1 = 0.0;
const std::wstring s1(L"205,199 23,445.25 1,024,365 123,22,24");
void test08()
{
// manufactured locale, grouping is turned on
- bool test __attribute__((unused)) = true;
unsigned int h4 = 0, h3 = 0, h2 = 0;
const std::wstring s1(L"1,22 205,19 22,123,22");
#include <locale>
#include <testsuite_hooks.h>
-bool test09()
+void test09()
{
- bool test __attribute__((unused)) = true;
-
std::wstring st(L"2.456e3-+0.567e-2");
std::wstringbuf sb(st);
std::wistream is(&sb);
(is >> std::ws) >> f1;
(is >> std::ws) >> c;
(is >> std::ws) >> f2;
- test = f1 == 2456;
+ VERIFY( f1 == 2456 );
VERIFY( f2 == 0.00567 );
VERIFY( c == L'-' );
- return test;
}
int main()
#include <locale>
#include <testsuite_hooks.h>
-bool test10()
+void test10()
{
std::wstring str_01(L"0 00 000 +0 +0 -0");
std::wstringbuf isbuf_01(str_01);
std::wistream is_01(&isbuf_01);
- bool test __attribute__((unused)) = true;
-
int n = 365;
is_01 >> n;
VERIFY( n == 0 );
is_05.ignore();
is_05 >> n;
VERIFY( n == 16 );
- return test;
}
int main()
// In the presence of no fmtflags, the input operator should behave
// like strtol(x, y, 0)
// libstdc++/90
-bool test11()
+void test11()
{
- bool test __attribute__((unused)) = true;
const wchar_t* cstrlit = L"0x2a";
// sanity check via 'C' library call
VERIFY( !iss.fail() );
VERIFY( l == i );
-
- return test;
}
int main()
// libstdc++/3720
// excess input should not cause a core dump
template<typename T>
-bool test12_aux(bool integer_type)
+void test12_aux(bool integer_type)
{
- bool test __attribute__((unused)) = true;
-
int digits_overflow;
if (integer_type)
// This many digits will overflow integer types in base 10.
T t;
is >> t;
VERIFY( is.fail() );
- return test;
}
-bool test12()
+void test12()
{
- bool test __attribute__((unused)) = true;
- VERIFY( test12_aux<short>(true) );
- VERIFY( test12_aux<int>(true) );
- VERIFY( test12_aux<long>(true) );
- VERIFY( test12_aux<float>(false) );
- VERIFY( test12_aux<double>(false) );
- VERIFY( test12_aux<long double>(false) );
- return test;
+ test12_aux<short>(true);
+ test12_aux<int>(true);
+ test12_aux<long>(true);
+ test12_aux<float>(false);
+ test12_aux<double>(false);
+ test12_aux<long double>(false);
}
int main()
void test13()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const wchar_t* l2 = L"1.2345678901234567890123456789012345678901234567890123456"
L" "
L"1246.9";
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wistream is(&b);
is.exceptions(std::ios::badbit);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
short s1 = 0;
wostringstream oss1;
void test_badbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_get_wchar_t);
wistringstream stream(L"jaylib - champion sound");
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream stream(L"jaylib - champion sound");
stream.exceptions(ios_base::failbit);
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_get_wchar_t);
wistringstream stream(L"jaylib - champion sound");
void test01()
{
- bool test __attribute__((unused)) = true;
std::string str_01;
const std::string str_02("coltrane playing 'softly as a morning sunrise'");
const std::string str_03("coltrane");
// operator>>(basic_istream&, _CharT*)
void test01()
{
- bool test __attribute__((unused)) = true;
const std::string str_01("Consoli ");
std::stringbuf isbuf_01(str_01, std::ios_base::in);
{
typedef std::ios::traits_type ctraits_type;
- bool test __attribute__((unused)) = true;
std::string str_01;
const std::string str_02("or coltrane playing tunji with jimmy garrison");
const std::string str_03("coltrane");
void test01()
{
- bool test __attribute__((unused)) = true;
std::string str_01;
const std::string str_02("coltrane playing 'softly as a morning sunrise'");
const std::string str_03("coltrane");
void check(istream& stream, const string& str, unsigned nchunks)
{
- bool test __attribute__((unused)) = true;
-
char* chunk = new char[str.size()];
memset(chunk, 'X', str.size());
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::istream is(&b);
is.exceptions(std::ios::badbit);
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
stringbuf_type strbuf01;
istream_type iss(&strbuf01);
- bool test __attribute__((unused)) = true;
-
// input streams
pod_ushort arr[6] = { { value_type('a') }, { value_type('b') },
{ value_type('c') }, { value_type('d') },
void test01()
{
- bool test __attribute__((unused)) = true;
std::wstring str_01;
const std::wstring str_02(L"coltrane playing 'softly as a morning sunrise'");
const std::wstring str_03(L"coltrane");
// operator>>(basic_istream&, _CharT*)
void test01()
{
- bool test __attribute__((unused)) = true;
const std::wstring str_01(L"Consoli ");
std::wstringbuf isbuf_01(str_01, std::ios_base::in);
void test02()
{
- bool test __attribute__((unused)) = true;
std::wstring str_01;
const std::wstring str_02(L"or coltrane playing tunji with jimmy garrison");
const std::wstring str_03(L"coltrane");
void test01()
{
- bool test __attribute__((unused)) = true;
std::wstring str_01;
const std::wstring str_02(L"coltrane playing 'softly as a morning sunrise'");
const std::wstring str_03(L"coltrane");
void check(wistream& stream, const wstring& str, unsigned nchunks)
{
- bool test __attribute__((unused)) = true;
-
wchar_t* chunk = new wchar_t[str.size()];
wmemset(chunk, L'X', str.size());
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wistream is(&b);
is.exceptions(std::wios::badbit);
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
{
typedef std::ios::traits_type ctraits_type;
- bool test __attribute__((unused)) = true;
const std::string str_01;
const std::string str_02("art taylor kickin it on DAKAR");
std::string strtmp;
// filebufs.
void test02()
{
- bool test __attribute__((unused)) = true;
const char name_01[] = "istream_extractor_other-1.txt"; //read
const char name_02[] = "istream_extractor_other-2.txt"; //write
VERIFY( fbin.is_open() );
VERIFY( fbout.is_open() );
- if (test)
- {
- std::istream is(&fbin);
- is.unsetf(std::ios_base::skipws);
- is >> &fbout;
- }
+ {
+ std::istream is(&fbin);
+ is.unsetf(std::ios_base::skipws);
+ is >> &fbout;
+ }
fbout.close();
fbin.close();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istringstream::pos_type pos_type;
void test03()
{
- using namespace std;
- bool test __attribute__((unused)) = true;
+ using namespace std;
// template<_CharT, _Traits>
// basic_istream& operator>>(ios_base& (*pf) (ios_base&))
void test09()
{
- bool test __attribute__((unused)) = true;
-
std::istringstream stream("Bad Moon Rising");
Outbuf buf;
stream >> &buf;
void test11()
{
- bool test __attribute__((unused)) = true;
-
Inbuf_2 inbuf1;
std::istream is(&inbuf1);
Outbuf_2 outbuf1;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::istream is(&b);
is.exceptions(std::ios::badbit);
void test6()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stringbuf sbuf("", ios_base::out);
void test8()
{
- bool test __attribute__((unused)) = true;
istringstream stream("foo, bar, qux");
__gnu_test::fail_streambuf bob;
void test14()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stream.exceptions(ios_base::badbit);
void test16()
{
- bool test __attribute__((unused)) = true;
istringstream stream("foo, bar, qux");
stream.exceptions(ios_base::badbit);
__gnu_test::fail_streambuf bob;
void test10()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stream.exceptions(ios_base::failbit);
void test12()
{
- bool test __attribute__((unused)) = true;
istringstream stream("foo, bar, qux");
stream.exceptions(ios_base::failbit);
__gnu_test::fail_streambuf bob;
void test2()
{
- bool test __attribute__((unused)) = true;
istringstream stream;
stream >> static_cast<streambuf*>(0);
VERIFY(stream.rdstate() & ios_base::failbit);
void test4()
{
- bool test __attribute__((unused)) = true;
istringstream stream;
stream.exceptions(ios_base::failbit);
stringbuf_type strbuf01;
istream_type iss(&strbuf01);
-
- bool test __attribute__((unused)) = true;
try
{
{
typedef std::wios::traits_type ctraits_type;
- bool test __attribute__((unused)) = true;
const std::wstring str_01;
const std::wstring str_02(L"art taylor kickin it on DAKAR");
std::wstring strtmp;
// filebufs.
void test02()
{
- bool test __attribute__((unused)) = true;
const char name_01[] = "wistream_extractor_other-1.txt"; //read
const char name_02[] = "wistream_extractor_other-2.txt"; //write
VERIFY( fbin.is_open() );
VERIFY( fbout.is_open() );
- if (test)
- {
- std::wistream is(&fbin);
- is.unsetf(std::ios_base::skipws);
- is >> &fbout;
- }
+ {
+ std::wistream is(&fbin);
+ is.unsetf(std::ios_base::skipws);
+ is >> &fbout;
+ }
fbout.close();
fbin.close();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef wistringstream::pos_type pos_type;
void test03()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// template<_CharT, _Traits>
// basic_istream& operator>>(ios_base& (*pf) (ios_base&))
void test09()
{
- bool test __attribute__((unused)) = true;
-
std::wistringstream stream(L"Bad Moon Rising");
Outbuf buf;
stream >> &buf;
void test11()
{
- bool test __attribute__((unused)) = true;
-
Inbuf_2 inbuf1;
std::wistream is(&inbuf1);
Outbuf_2 outbuf1;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wistream is(&b);
is.exceptions(std::wios::badbit);
void test6()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
wstringbuf sbuf(L"", ios_base::out);
void test8()
{
- bool test __attribute__((unused)) = true;
wistringstream stream(L"foo, bar, qux");
__gnu_test::fail_wstreambuf bob;
void test14()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
stream.exceptions(ios_base::badbit);
void test16()
{
- bool test __attribute__((unused)) = true;
wistringstream stream(L"foo, bar, qux");
stream.exceptions(ios_base::badbit);
__gnu_test::fail_wstreambuf bob;
void test10()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
stream.exceptions(ios_base::failbit);
void test12()
{
- bool test __attribute__((unused)) = true;
wistringstream stream(L"foo, bar, qux");
stream.exceptions(ios_base::failbit);
__gnu_test::fail_wstreambuf bob;
void test2()
{
- bool test __attribute__((unused)) = true;
wistringstream stream;
stream >> static_cast<wstreambuf*>(0);
VERIFY( stream.rdstate() & ios_base::failbit );
void test4()
{
- bool test __attribute__((unused)) = true;
wistringstream stream;
stream.exceptions(ios_base::failbit);
{
typedef std::char_traits<char> traits_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] =
" sun*ra \n\t\t\t & his arkestra, featuring john gilmore: \n"
" "
void
test07()
{
- bool test __attribute__((unused)) = true;
const char* tfn = "istream_unformatted-1.txt";
std::ifstream infile;
infile.open(tfn);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf strbuf01;
stringbuf strbuf02;
{
typedef std::char_traits<wchar_t> traits_type;
- bool test __attribute__((unused)) = true;
const wchar_t str_lit01[] =
L" sun*ra \n\t\t\t & his arkestra, featuring john gilmore: \n"
L" "
void
test07()
{
- bool test __attribute__((unused)) = true;
const char* tfn = "istream_unformatted-1.txt";
std::wifstream infile;
infile.open(tfn);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf strbuf01;
wstringbuf strbuf02;
{
typedef std::char_traits<char> traits_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] = "\t\t\t sun*ra \n"
" "
"and his myth science arkestra present\n"
"aaaaaaaaaaaaa\n"
"aaaaaaaaaaaaaa\n";
- bool test __attribute__((unused)) = true;
const std::streamsize it = 5;
std::streamsize br = 0;
char tmp[it];
{
using namespace std;
- bool test __attribute__((unused)) = true;
const streamsize it = 5;
char tmp[it];
const char* str_lit = "abcd\n";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef char_traits<char> traits_type;
void check(istream& stream, const string& str, unsigned nchunks, char delim)
{
- bool test __attribute__((unused)) = true;
-
char buf[1000000];
string::size_type index = 0, index_new = 0;
unsigned n = 0;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf strbuf01;
stringbuf strbuf02;
{
typedef std::char_traits<wchar_t> traits_type;
- bool test __attribute__((unused)) = true;
const wchar_t str_lit01[] = L"\t\t\t sun*ra \n"
L" "
L"and his myth science arkestra present\n"
L"aaaaaaaaaaaaa\n"
L"aaaaaaaaaaaaaa\n";
- bool test __attribute__((unused)) = true;
const std::streamsize it = 5;
std::streamsize br = 0;
wchar_t tmp[it];
{
using namespace std;
- bool test __attribute__((unused)) = true;
const streamsize it = 5;
wchar_t tmp[it];
const wchar_t* str_lit = L"abcd\n";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef char_traits<wchar_t> traits_type;
void
check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim)
{
- bool test __attribute__((unused)) = true;
-
static wchar_t buf[1000000];
wstring::size_type index = 0, index_new = 0;
unsigned n = 0;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf strbuf01;
wstringbuf strbuf02;
{
typedef std::ios::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const std::string str_01;
const std::string str_02("soul eyes: john coltrane quartet");
std::string strtmp;
void check(istream& stream, const string& str, unsigned nchunks, char delim)
{
- bool test __attribute__((unused)) = true;
-
string::size_type index = 0, index_new = 0;
unsigned n = 0;
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char filename[] ="istream_unformatted-1.txt";
ios_base::iostate state1, state2;
test08()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringstream ss("abcd" "\xFF" "1234ina donna coolbrith");
char c;
test10()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef string string_type;
typedef stringbuf stringbuf_type;
typedef istream istream_type;
istr.ignore(0);
if (istr.gcount() != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
istr.ignore(0, 'b');
if (istr.gcount() != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
istr.ignore(); // Advance to next position.
istr.ignore(0, 'b');
if ((n=istr.gcount()) != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
if (istr.peek() != 'b')
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
int
{
typedef std::ios::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const std::wstring str_01;
const std::wstring str_02(L"soul eyes: john coltrane quartet");
std::wstring strtmp;
void
check(wistream& stream, const wstring& str, unsigned nchunks, wchar_t delim)
{
- bool test __attribute__((unused)) = true;
-
wstring::size_type index = 0, index_new = 0;
unsigned n = 0;
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char filename[] ="istream_unformatted-1.txt";
ios_base::iostate state1, state2;
test08()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringstream ss(L"abcd" L"\xFF" L"1234ina donna coolbrith");
wchar_t c;
test10()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef wstring string_type;
typedef wstringbuf stringbuf_type;
typedef wistream istream_type;
istr.ignore(0);
if (istr.gcount() != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
istr.ignore(0, L'b');
if (istr.gcount() != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
istr.ignore(); // Advance to next position.
istr.ignore(0, L'b');
if ((n=istr.gcount()) != 0)
- test = false;
- VERIFY( test );
+ VERIFY( false );
if (istr.peek() != L'b')
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
int
{
typedef std::ios::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const std::string str_01;
const std::string str_02("soul eyes: john coltrane quartet");
std::string strtmp;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream stream;
VERIFY( stream.rdstate() == ios_base::goodbit );
// fstreams
void test04(void)
{
- bool test __attribute__((unused)) = true;
std::istream::pos_type pos01, pos02;
const char str_lit01[] = "istream_seeks-1.txt";
std::ifstream if01(str_lit01, std::ios_base::in | std::ios_base::out);
{
typedef std::wios::traits_type traits_type;
- bool test __attribute__((unused)) = true;
const std::wstring str_01;
const std::wstring str_02(L"soul eyes: john coltrane quartet");
std::wstring strtmp;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream stream;
VERIFY( stream.rdstate() == ios_base::goodbit );
// fstreams
void test04(void)
{
- bool test __attribute__((unused)) = true;
std::wistream::pos_type pos01, pos02;
const char str_lit01[] = "wistream_seeks-1.txt";
std::wifstream if01(str_lit01, std::ios_base::in | std::ios_base::out);
void
test01()
{
- bool test __attribute__((unused)) = true;
const std::string str_01;
const std::string str_02("soul eyes: john coltrane quartet");
std::string strtmp;
void
test01()
{
- bool test __attribute__((unused)) = true;
const std::wstring str_01;
const std::wstring str_02(L"soul eyes: john coltrane quartet");
std::wstring strtmp;
void
test01()
{
- bool test __attribute__((unused)) = true;
const std::string str_02("soul eyes: john coltrane quartet");
std::stringbuf isbuf_03(str_02, std::ios_base::in);
void
test04()
{
- bool test __attribute__((unused)) = true;
-
const std::string str_00("Red_Garland_Qunitet-Soul_Junction");
char c_array[str_00.size() + 4];
test09()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream iss("Juana Briones");
char tab[13];
iss.read(tab, 13);
if (!iss)
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
int
void
test01()
{
- bool test __attribute__((unused)) = true;
const std::wstring str_02(L"soul eyes: john coltrane quartet");
std::wstringbuf isbuf_03(str_02, std::ios_base::in);
void
test04()
{
- bool test __attribute__((unused)) = true;
-
const std::wstring str_00(L"Red_Garland_Qunitet-Soul_Junction");
wchar_t c_array[str_00.size() + 4];
test09()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream iss(L"Juana Briones");
wchar_t tab[13];
iss.read(tab, 13);
if (!iss)
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
int
void test12()
{
using namespace std;
- bool test __attribute__((unused)) = true;
streamsize sum = 0;
istringstream iss("shamma shamma");
void test13()
{
using namespace std;
- bool test __attribute__((unused)) = true;
streamsize sum = 0;
ifstream ifs("istream_unformatted-1.tst");
void test11()
{
- bool test __attribute__((unused)) = true;
using namespace std;
char arr[10];
mybuf sbuf;
void test12()
{
using namespace std;
- bool test __attribute__((unused)) = true;
streamsize sum = 0;
wistringstream iss(L"shamma shamma");
void test13()
{
using namespace std;
- bool test __attribute__((unused)) = true;
streamsize sum = 0;
wifstream ifs("wistream_unformatted-1.tst");
void test11()
{
- bool test __attribute__((unused)) = true;
using namespace std;
wchar_t arr[10];
mybuf sbuf;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream ist("the lamb lies down on broadway");
ios::pos_type pos = ist.tellg();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istringstream::pos_type pos_type;
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
string num1("555");
// seekg
istream::pos_type pos1 = iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(pos1);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
string num1("555");
// seekg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(0, ios_base::beg);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stream.exceptions(ios_base::badbit);
void test02()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stream.exceptions(ios_base::badbit);
{
typedef std::istream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "istream_seeks-1.txt";
{
typedef std::istream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "istream_seeks-1.tst";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream ist(L"the lamb lies down on broadway");
wios::pos_type pos = ist.tellg();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef wistringstream::pos_type pos_type;
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstring num1(L"555");
// seekg
wistream::pos_type pos1 = iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(pos1);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstring num1(L"555");
// seekg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(0, ios_base::beg);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
stream.exceptions(ios_base::badbit);
void test02()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
stream.exceptions(ios_base::badbit);
{
typedef std::wistream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "wistream_seeks-1.txt";
{
typedef std::istream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "wistream_seeks-1.tst";
void test01()
{
- bool test __attribute__((unused)) = true;
const char* lit01 = "stereolab on the bolsinga tip";
const std::string str01(lit01);
{
using namespace std;
istringstream in("80.21 56.89 12.3");
- bool test __attribute__((unused)) = true;
int i = 0;
double x;
void
test03()
{
- bool test __attribute__((unused)) = true;
-
std::stringbuf strbuf01;
std::istream strm1(&strbuf01);
const std::istream::sentry sentry1(strm1);
typedef basic_stringbuf<pod_ushort> stringbuf_type;
typedef basic_istream<pod_ushort> istream_type;
- bool test __attribute__((unused)) = true;
-
-
const string_type str01;
stringbuf_type strbuf01;
stringbuf_type strbuf02(str01);
void test01()
{
- bool test __attribute__((unused)) = true;
const wchar_t* lit01 = L"stereolab on the bolsinga tip";
const std::wstring str01(lit01);
{
using namespace std;
wistringstream in(L"80.21 56.89 12.3");
- bool test __attribute__((unused)) = true;
int i = 0;
double x;
void
test03()
{
- bool test __attribute__((unused)) = true;
-
std::wstringbuf strbuf01;
std::wistream strm1(&strbuf01);
const std::wistream::sentry sentry1(strm1);
typedef ios::off_type off_type;
typedef ios::pos_type pos_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] = "istream_seeks-1.tst";
// in
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream ist("three sides live");
ist.ignore(4);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istringstream::pos_type pos_type;
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
string num1("555");
// tellg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.clear();
iss.tellg();
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
// seekg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(0, ios_base::beg);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
// seekg
istream::pos_type pos1 = iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(pos1);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
istream stream(&bib);
stream.exceptions(ios_base::badbit);
{
typedef std::istream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "istream_seeks-1.txt";
{
typedef std::istream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::istream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "istream_seeks-1.tst";
typedef ios::off_type off_type;
typedef ios::pos_type pos_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] = "wistream_seeks-1.tst";
// in
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream ist(L"three sides live");
ist.ignore(4);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef wistringstream::pos_type pos_type;
void test06(void)
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstring num1(L"555");
// tellg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.clear();
iss.tellg();
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
// seekg
iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(0, ios_base::beg);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
// seekg
wistream::pos_type pos1 = iss.tellg();
int asNum = 0;
iss >> asNum;
- VERIFY( test = iss.eof() );
- VERIFY( test = !iss.fail() );
+ VERIFY( iss.eof() );
+ VERIFY( !iss.fail() );
iss.seekg(pos1);
- VERIFY( test = !iss.fail() );
+ VERIFY( !iss.fail() );
}
}
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wistream stream(&bib);
stream.exceptions(ios_base::badbit);
{
typedef std::wistream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "wistream_seeks-1.txt";
{
typedef std::wistream::off_type off_type;
- bool test __attribute__((unused)) = true;
std::wistream::pos_type pos01, pos02, pos03, pos04, pos05, pos06;
std::ios_base::iostate state01, state02;
const char str_lit01[] = "wistream_seeks-1.tst";
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const char str_lit01[] = " venice ";
const std::string str01(" santa barbara ");
std::string str02(str_lit01);
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const wchar_t str_lit01[] = L" venice ";
const std::wstring str01(L" santa barbara ");
std::wstring str02(str_lit01);
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_istringstream<__gnu_test::pod_ushort> gnu_isstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const wchar_t* strlit01 = L"fuck war";
const std::wstring str00;
const std::wstring str01(strlit01);
void test01()
{
- bool test __attribute__((unused)) = true;
std::istringstream is01;
const std::string str00;
const std::string str01 = "123";
void test01()
{
- bool test __attribute__((unused)) = true;
std::wistringstream is01;
const std::wstring str00;
const std::wstring str01 = L"123";
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_ofstream<__gnu_test::pod_ushort> gnu_ofstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// http://gcc.gnu.org/ml/libstdc++/2000-07/msg00004.html
void test02()
{
- bool test __attribute__((unused)) = true;
const int more_than_max_open_files = 8200;
for(int i = 0; ++i < more_than_max_open_files;)
// http://gcc.gnu.org/ml/libstdc++/2000-06/msg00136.html
void test01()
{
- bool test __attribute__((unused)) = true;
std::ofstream ofs1;
ofs1.close();
// libstdc++/2832
void test03()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_ostream<__gnu_test::pod_ushort> gnu_ostr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
Buf buf;
ostream stream(&buf);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
Buf buf;
wostream stream(&buf);
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::string str01(" santa barbara ");
std::string str04;
std::string str05;
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::wstring str01(L" santa barbara ");
std::wstring str04;
std::wstring str05;
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::string str01(" santa barbara ");
std::string str04;
std::string str05;
using namespace std;
typedef ostringstream::int_type int_type;
- bool test __attribute__((unused)) = true;
ostringstream osst_01;
const string str_00("herbie_hancock");
int_type len1 = str_00.size();
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::wstring str01(L" santa barbara ");
std::wstring str04;
std::wstring str05;
using namespace std;
typedef wostringstream::int_type int_type;
- bool test __attribute__((unused)) = true;
wostringstream osst_01;
const wstring str_00(L"herbie_hancock");
int_type len1 = str_00.size();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
buf b;
std::ostream strm (&b);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
buf b;
std::wostream strm(&b);
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::string str01(" santa barbara ");
std::string str04;
std::string str05;
void test02()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::sync_streambuf buf;
std::ostream os(&buf);
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
ostream stream(&bib);
stream.exceptions(ios_base::badbit);
void test01(void)
{
- bool test __attribute__((unused)) = true;
-
const std::wstring str01(L" santa barbara ");
std::wstring str04;
std::wstring str05;
void test02()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::sync_wstreambuf buf;
std::wostream os(&buf);
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wostream stream(&bib);
stream.exceptions(ios_base::badbit);
void
test01()
{
- bool test __attribute__((unused)) = true;
for (std::size_t j = 0; j<sizeof(testcases)/sizeof(testcases[0]); j++)
{
_TestCase & tc = testcases[j];
test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// Make sure we can output a long float in fixed format
// without seg-faulting (libstdc++/4402)
#include <testsuite_hooks.h>
template<typename T>
-bool
+void
test03_check(T n)
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf strbuf;
ostream o(&strbuf);
o << oct << n << ' ' << hex << n;
VERIFY ( strbuf.str() == expect );
-
- return test;
}
void
test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf strbuf1, strbuf2;
ostream o1(&strbuf1), o2(&strbuf2);
test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// make sure we can output a very long float
long double val = numeric_limits<long double>::max();
test05()
{
using namespace std;
- bool test __attribute__((unused)) = true;
double pi = 3.14159265358979323846;
ostringstream ostr;
test06()
{
using namespace std;
- bool test __attribute__((unused)) = true;
int prec = numeric_limits<double>::digits10 + 2;
double oval = numeric_limits<double>::min();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringstream ostr1, ostr2, ostr3, ostr4;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::ostream os(&b);
os.exceptions(std::ios::badbit);
void test_badbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_put_char);
ostringstream stream("jaylib - champion sound");
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_put_char);
ostringstream stream("jaylib - champion sound");
#include <testsuite_hooks.h>
#include <testsuite_character.h>
-bool test __attribute__((unused)) = true;
using __gnu_test::pod_ushort;
namespace std
void
test01()
{
- bool test __attribute__((unused)) = true;
for (std::size_t j = 0; j<sizeof(testcases)/sizeof(testcases[0]); j++)
{
_TestCase & tc = testcases[j];
test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// Make sure we can output a long float in fixed format
// without seg-faulting (libstdc++/4402)
#include <testsuite_hooks.h>
template<typename T>
-bool
+void
test03_check(T n)
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf strbuf;
wostream o(&strbuf);
o << oct << n << L' ' << hex << n;
VERIFY ( strbuf.str() == expect );
-
- return test;
}
void
test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf strbuf1, strbuf2;
wostream o1(&strbuf1), o2(&strbuf2);
test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
// make sure we can output a very long float
long double val = numeric_limits<long double>::max();
test05()
{
using namespace std;
- bool test __attribute__((unused)) = true;
double pi = 3.14159265358979323846;
wostringstream ostr;
test06()
{
using namespace std;
- bool test __attribute__((unused)) = true;
int prec = numeric_limits<double>::digits10 + 2;
double oval = numeric_limits<double>::min();
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringstream ostr1, ostr2, ostr3, ostr4;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wostream os(&b);
os.exceptions(std::wios::badbit);
void test_badbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_put_wchar_t);
wostringstream stream(L"jaylib - champion sound");
void test_failbit()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc(locale::classic(), new __gnu_test::fail_num_put_wchar_t);
wostringstream stream(L"jaylib - champion sound");
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream oss_01;
oss_01.width(-60);
void
test02()
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream oss_01;
oss_01.width(-60);
void
test03()
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream oss_01;
oss_01.width(-60);
void
test02(void)
{
- bool test __attribute__((unused)) = true;
std::string tmp;
std::string str01 = "";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
ostringstream oss_01;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
ostringstream oss_01;
const string str_01(50, 'a');
// right
void test03(void)
{
- bool test __attribute__((unused)) = true;
std::string tmp;
std::string str01 = "";
void
test04()
{
- bool test __attribute__((unused)) = true;
std::string str_01;
std::string str_tmp;
const int i_max=250;
void
test05()
{
- bool test __attribute__((unused)) = true;
std::string str05, str10;
typedef std::ostream::pos_type pos_type;
// http://gcc.gnu.org/ml/libstdc++/2000-q1/msg00326.html
void test06()
{
- bool test __attribute__((unused)) = true;
const char carray01[] = "mos def & talib kweli are black star";
// normal
void test08()
{
- bool test __attribute__((unused)) = true;
char* pt = 0;
// 1
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::ostream os(&b);
os.exceptions(std::ios::badbit);
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream oss_01;
oss_01.width(-60);
void
test02()
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream oss_01;
oss_01.width(-60);
void
test03()
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream oss_01;
oss_01.width(-60);
void
test02(void)
{
- bool test __attribute__((unused)) = true;
std::wstring tmp;
std::wstring str01 = L"";
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream oss_01;
const string str_01(MAX_SIZE, 'a');
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream oss_01;
const string str_01(50, 'a');
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream oss_01;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream oss_01;
const wstring str_01(50, L'a');
// right
void test03(void)
{
- bool test __attribute__((unused)) = true;
std::wstring tmp;
std::wstring str01 = L"";
void
test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_01;
std::wstring str_tmp;
const int i_max=250;
void
test05()
{
- bool test __attribute__((unused)) = true;
std::wstring str05, str10;
typedef std::wostream::pos_type pos_type;
// http://gcc.gnu.org/ml/libstdc++/2000-q1/msg00326.html
void test06()
{
- bool test __attribute__((unused)) = true;
const wchar_t carray01[] = L"mos def & talib kweli are black star";
// normal
void test07()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* buffer = "SFPL 5th floor, outside carrol, the Asian side";
void test08()
{
- bool test __attribute__((unused)) = true;
char* pt = 0;
// 2
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wostream os(&b);
os.exceptions(std::wios::badbit);
test02()
{
typedef std::ios_base::iostate iostate;
- bool test __attribute__((unused)) = true;
// basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type* __sb)
// filebuf-> NULL
void test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
istringstream istr("inside betty carter");
ostringstream ostr;
ostr << istr.rdbuf() << endl;
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
-
- VERIFY( test );
+ VERIFY( false );
}
int
void test(const std::string& str, std::streambuf& buf)
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream out;
std::istream in(&buf);
template<typename T>
void test(T& (*f)(T&))
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::sync_streambuf buf;
std::ostream os(&buf);
void test10()
{
- bool test __attribute__((unused)) = true;
-
std::stringbuf sbuf("Bad Moon Rising", std::ios::in);
Outbuf buf;
std::ostream stream(&buf);
const char Inbuf_2::buf[] = "Atteivlis";
void test12()
-{
- bool test __attribute__((unused)) = true;
-
+{
Outbuf_2 outbuf2;
std::ostream os (&outbuf2);
Inbuf_2 inbuf2;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::ostream os(&b);
os.exceptions(std::ios::badbit);
void test()
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buf[64];
error_code e1;
s1 = ostr.str();
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
+ VERIFY( false );
}
- VERIFY( test );
+
VERIFY( find(s1.begin(), s1.end(), ':') != s1.end() );
sprintf(buf, "%i", e1.value());
s = buf;
- VERIFY( s1.find(s) != string::npos);
+ VERIFY( s1.find(s) != string::npos );
{
ostringstream ostr;
s2 = ostr.str();
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
+ VERIFY( false );
}
- VERIFY( test );
+
VERIFY( find(s2.begin(), s2.end(), ':') != s2.end() );
sprintf(buf, "%i", e2.value());
s = buf;
- VERIFY( s2.find(s) != string::npos);
+ VERIFY( s2.find(s) != string::npos );
}
int
void test5()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bob;
ostream stream(&bob);
stringbuf sbuf("Foo, bar, qux", ios_base::in);
void test7()
{
- bool test __attribute__((unused)) = true;
ostringstream stream;
__gnu_test::fail_streambuf bib;
void test13()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bob;
ostream stream(&bob);
stream.exceptions(ios_base::badbit);
void test15()
{
- bool test __attribute__((unused)) = true;
ostringstream stream;
stream.exceptions(ios_base::badbit);
__gnu_test::fail_streambuf bib;
void test9()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bob;
ostream stream(&bob);
stream.exceptions(ios_base::failbit);
void test11()
{
- bool test __attribute__((unused)) = true;
ostringstream stream;
stream.exceptions(ios_base::failbit);
__gnu_test::fail_streambuf bib;
void test1()
{
using namespace std;
- bool test __attribute__((unused)) = true;
ostringstream stream;
stream << static_cast<streambuf*>(0);
void test3()
{
using namespace std;
- bool test __attribute__((unused)) = true;
ostringstream stream;
stream.exceptions(ios_base::badbit);
test02()
{
typedef std::ios_base::iostate iostate;
- bool test __attribute__((unused)) = true;
// basic_ostream<_CharT, _Traits>::operator<<(__streambuf_type* __sb)
// filebuf-> NULL
void test04()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wistringstream istr(L"inside betty carter");
wostringstream ostr;
ostr << istr.rdbuf() << endl;
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
-
- VERIFY( test );
+ VERIFY( false );
}
int
void test(const std::wstring& str, std::wstreambuf& buf)
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream out;
std::wistream in(&buf);
template<typename T>
void test(T& (*f)(T&))
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::sync_wstreambuf buf;
std::wostream os(&buf);
void test10()
{
- bool test __attribute__((unused)) = true;
-
std::wstringbuf sbuf(L"Bad Moon Rising", std::wios::in);
Outbuf buf;
std::wostream stream(&buf);
void test12()
{
- bool test __attribute__((unused)) = true;
-
Outbuf_2 outbuf2;
std::wostream os (&outbuf2);
Inbuf_2 inbuf2;
template<typename T>
void testthrow(T arg)
{
- bool test __attribute__((unused)) = true;
buf b;
std::wostream os(&b);
os.exceptions(std::wios::badbit);
void test()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wchar_t buf[64];
error_code e1;
s1 = ostr.str();
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
+ VERIFY( false );
}
- VERIFY( test );
+
VERIFY( find(s1.begin(), s1.end(), L':') != s1.end() );
swprintf(buf, 64, L"%i", e1.value());
s = buf;
- VERIFY( s1.find(s) != string::npos);
+ VERIFY( s1.find(s) != string::npos );
{
wostringstream ostr;
s2 = ostr.str();
if (ostr.rdstate() & ios_base::eofbit)
- test = false;
+ VERIFY( false );
}
- VERIFY( test );
+
VERIFY( find(s2.begin(), s2.end(), L':') != s2.end() );
swprintf(buf, 64, L"%i", e2.value());
s = buf;
- VERIFY( s2.find(s) != string::npos);
+ VERIFY( s2.find(s) != string::npos );
}
int
void test5()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bob;
wostream stream(&bob);
wstringbuf sbuf(L"Foo, bar, qux", ios_base::in);
void test7()
{
- bool test __attribute__((unused)) = true;
wostringstream stream;
__gnu_test::fail_wstreambuf bib;
void test13()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bob;
wostream stream(&bob);
stream.exceptions(ios_base::badbit);
void test15()
{
- bool test __attribute__((unused)) = true;
wostringstream stream;
stream.exceptions(ios_base::badbit);
__gnu_test::fail_wstreambuf bib;
void test9()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bob;
wostream stream(&bob);
stream.exceptions(ios_base::failbit);
void test11()
{
- bool test __attribute__((unused)) = true;
wostringstream stream;
stream.exceptions(ios_base::failbit);
__gnu_test::fail_wstreambuf bib;
void test1()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream stream;
stream << static_cast<wstreambuf*>(0);
void test3()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wostringstream stream;
stream.exceptions(ios_base::badbit);
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::ostream os(&buf);
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::wostream os(&buf);
void write_rewind(std::iostream& stream)
{
- bool test __attribute__((unused)) = true;
-
for (int j = 0; j < times; j++)
{
std::streampos begin = stream.tellp();
void check_contents(std::iostream& stream)
{
- bool test __attribute__((unused)) = true;
-
stream.clear();
stream.seekg(0, std::ios::beg);
int i = 0;
void write_rewind(std::iostream& stream)
{
- bool test __attribute__((unused)) = true;
-
for (int j = 0; j < times; j++)
{
std::streampos begin = stream.tellp();
void check_contents(std::iostream& stream)
{
- bool test __attribute__((unused)) = true;
-
stream.clear();
stream.seekg(0, std::ios::beg);
int i = 0;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
ostream stream(&bib);
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
ostream stream(&bib);
void write_rewind(std::wiostream& stream)
{
- bool test __attribute__((unused)) = true;
-
for (int j = 0; j < times; j++)
{
std::streampos begin = stream.tellp();
void check_contents(std::wiostream& stream)
{
- bool test __attribute__((unused)) = true;
-
stream.clear();
stream.seekg(0, std::wios::beg);
int i = 0;
void write_rewind(std::wiostream& stream)
{
- bool test __attribute__((unused)) = true;
-
for (int j = 0; j < times; j++)
{
std::streampos begin = stream.tellp();
void check_contents(std::wiostream& stream)
{
- bool test __attribute__((unused)) = true;
-
stream.clear();
stream.seekg(0, std::wios::beg);
int i = 0;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wostream stream(&bib);
void test02()
{
using namespace std;
- bool test __attribute__((unused)) = true;
-
+
__gnu_test::fail_wstreambuf bib;
wostream stream(&bib);
stream.exceptions(ios_base::badbit);
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::stringbuf strbuf01;
std::ostream strm1(&strbuf01);
const std::ostream::sentry sentry1(strm1);
void
test02()
{
- bool test __attribute__((unused)) = true;
-
buf b(0);
std::ostream strm(&b);
typedef basic_stringbuf<pod_ushort> stringbuf_type;
typedef basic_ostream<pod_ushort> ostream_type;
- bool test __attribute__((unused)) = true;
-
-
const string_type str01;
stringbuf_type* strbuf01 = 0;
stringbuf_type strbuf02(str01);
void
test01()
{
- bool test __attribute__((unused)) = true;
-
std::wstringbuf strbuf01;
std::wostream strm1(&strbuf01);
const std::wostream::sentry sentry1(strm1);
void
test02()
{
- bool test __attribute__((unused)) = true;
-
buf b(0);
std::wostream strm(&b);
typedef ios::off_type off_type;
typedef ios::pos_type pos_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] = "ostream_seeks-1.txt";
// out
using namespace std;
typedef std::stringbuf::pos_type pos_type;
typedef std::stringbuf::off_type off_type;
- bool test __attribute__((unused)) = true;
// tellp
ostringstream ost;
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_streambuf bib;
ostream stream(&bib);
stream.exceptions(ios_base::badbit);
typedef wios::off_type off_type;
typedef wios::pos_type pos_type;
- bool test __attribute__((unused)) = true;
const char str_lit01[] = "wostream_seeks-1.txt";
// out
using namespace std;
typedef std::wstringbuf::pos_type pos_type;
typedef std::wstringbuf::off_type off_type;
- bool test __attribute__((unused)) = true;
// tellp
wostringstream ost;
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::fail_wstreambuf bib;
wostream stream(&bib);
stream.exceptions(ios_base::badbit);
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::ostream os(&buf);
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf buf;
std::wostream os(&buf);
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_ostringstream<__gnu_test::pod_ushort> gnu_osstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
void
test03()
{
- bool test __attribute__((unused)) = false;
-
// Empty string sanity check.
std::string str01;
std::string::iterator __i_start = str01.begin();
std::string::iterator __i_end = str01.end();
std::string::size_type len = str01.size();
- test = __i_start == __i_end;
+ VERIFY( __i_start == __i_end );
VERIFY( len == 0 );
// Full string sanity check.
void
test03()
{
- bool test __attribute__((unused)) = false;
-
// Empty string sanity check.
std::wstring str01;
std::wstring::iterator __i_start = str01.begin();
std::wstring::iterator __i_end = str01.end();
std::wstring::size_type len = str01.size();
- test = __i_start == __i_end;
+ VERIFY( __i_start == __i_end );
VERIFY( len == 0 );
// Full string sanity check.
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const wchar_t* strlit01 = L"fuck war";
const std::wstring str00;
const std::wstring str01(strlit01);
void test01()
{
- bool test __attribute__((unused)) = true;
std::ostringstream os01;
const std::string str00;
const std::string str01 = "123";
void
test04()
{
- bool test __attribute__((unused)) = true;
derived_oss yy;
yy << "buena vista social club\n";
VERIFY( yy.str() == std::string("buena vista social club\n") );
void test01()
{
- bool test __attribute__((unused)) = true;
std::wostringstream os01;
const std::wstring str00;
const std::wstring str01 = L"123";
void
test04()
{
- bool test __attribute__((unused)) = true;
derived_oss yy;
yy << L"buena vista social club\n";
VERIFY( yy.str() == std::wstring(L"buena vista social club\n") );
void test07()
{
- bool test __attribute__((unused)) = true;
-
try
{ gnu_sbuf obj; }
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
void streambuf::test_copy() const
{
- bool test __attribute__((unused)) = true;
-
streambuf a(*this);
VERIFY( eback() == a.eback() );
void streambuf::test_assign() const
{
- bool test __attribute__((unused)) = true;
-
streambuf a;
a = *this;
void streambuf::test_swap() const
{
- bool test __attribute__((unused)) = true;
-
streambuf a(*this);
streambuf b;
const streambuf c(b);
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::constraint_streambuf buf01;
// 27.5.2.1 basic_streambuf ctors
void test01()
{
- bool test __attribute__((unused)) = true;
__gnu_test::constraint_wstreambuf buf01;
// 27.5.2.1 basic_streambuf ctors
// libstdc++/13007
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf1 buf;
std::locale loc(std::locale("is_IS.UTF-8"));
// libstdc++/13007
void test02()
{
- bool test __attribute__((unused)) = true;
-
Buf2 buf;
std::locale loc(std::locale(ISO_8859(1,en_US)));
void test08()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc;
testbuf ob;
// libstdc++/13007
void test01()
{
- bool test __attribute__((unused)) = true;
-
Buf1 buf;
std::locale loc(std::locale("is_IS.UTF-8"));
// libstdc++/13007
void test02()
{
- bool test __attribute__((unused)) = true;
-
Buf2 buf;
std::locale loc(std::locale(ISO_8859(1,en_US)));
void test08()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc;
testbuf ob;
typedef streambuf_type::off_type off_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
std::streamoff strmof_1;
testbuf sb01;
typedef streambuf_type::off_type off_type;
typedef size_t size_type;
- bool test __attribute__((unused)) = true;
std::streamoff strmof_1;
testbuf sb01;
testbuf(): std::streambuf()
{ }
- bool
+ void
check_pointers()
{
- bool test __attribute__((unused)) = true;
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
char lit01[52];
std::strcpy(lit01, "chicago underground trio/possible cube on delmark");
testbuf buf01;
void test03()
{
- bool test __attribute__((unused)) = true;
const std::string control01("11111");
std::string test01;
void
test07()
{
- bool test __attribute__((unused)) = true;
testbuf ob;
std::ostream out(&ob);
testbuf(): std::wstreambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
wchar_t lit01[52];
std::wcscpy(lit01, L"chicago underground trio/possible cube on delmark");
testbuf buf01;
void test03()
{
- bool test __attribute__((unused)) = true;
const std::wstring control01(L"11111");
std::wstring test01;
void
test07()
{
- bool test __attribute__((unused)) = true;
testbuf ob;
std::wostream out(&ob);
testbuf(): std::streambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
char lit01[52];
std::strcpy(lit01, "chicago underground trio/possible cube on delmark");
testbuf buf01;
testbuf(): std::wstreambuf()
{ }
- bool
+ void
check_pointers()
{
- bool test __attribute__((unused)) = true;
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
wchar_t lit01[52];
std::wcscpy(lit01, L"chicago underground trio/possible cube on delmark");
testbuf buf01;
testbuf(): std::streambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
-
char lit01[] = "chicago underground trio/possible cube on delmark";
size_t i01 = traits_type::length(lit01);
// default ctor initializes
// - all pointer members to null pointers
// - locale to current global locale
- VERIFY( buf01.check_pointers() );
+ buf01.check_pointers();
VERIFY( buf01.getloc() == std::locale() );
// 27.5.2.2.5 Put area
testbuf(): std::wstreambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
-
wchar_t lit01[] = L"chicago underground trio/possible cube on delmark";
size_t i01 = traits_type::length(lit01);
// default ctor initializes
// - all pointer members to null pointers
// - locale to current global locale
- VERIFY( buf01.check_pointers() );
+ buf01.check_pointers();
VERIFY( buf01.getloc() == std::locale() );
// 27.5.2.2.5 Put area
public:
static bool eq(char c1, char c2)
{
- bool test __attribute__((unused)) = true;
VERIFY( c1 != 'X' );
VERIFY( c2 != 'X' );
return std::char_traits<char>::eq(c1, c2);
// libstdc++/9538
void test08()
{
- bool test __attribute__((unused)) = true;
-
MyBuf mb;
mb.sputbackc('a');
}
public:
static bool eq(wchar_t c1, wchar_t c2)
{
- bool test __attribute__((unused)) = true;
VERIFY( c1 != L'X' );
VERIFY( c2 != L'X' );
return std::char_traits<wchar_t>::eq(c1, c2);
// libstdc++/9538
void test08()
{
- bool test __attribute__((unused)) = true;
-
MyBuf mb;
mb.sputbackc(L'a');
}
testbuf(): std::streambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
testbuf buf01;
// sputn/xsputn
testbuf(): std::wstreambuf()
{ }
- bool
+ void
check_pointers()
- {
- bool test __attribute__((unused)) = true;
+ {
VERIFY( !this->eback() );
VERIFY( !this->gptr() );
VERIFY( !this->egptr() );
VERIFY( !this->pbase() );
VERIFY( !this->pptr() );
VERIFY( !this->epptr() );
- return test;
}
int_type
typedef testbuf::traits_type traits_type;
typedef testbuf::int_type int_type;
- bool test __attribute__((unused)) = true;
testbuf buf01;
// sputn/xsputn
// libstdc++/1057
void test04()
{
- bool test __attribute__((unused)) = true;
std::string text = "abcdefghijklmn";
// 01
// libstdc++/1057
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring text = L"abcdefghijklmn";
// 01
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_stringbuf<__gnu_test::pod_ushort> gnu_ssbuf;
try
{ gnu_ssbuf obj; }
catch(std::exception& obj)
- {
- test = false;
- VERIFY( test );
+ {
+ VERIFY( false );
}
}
// http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html
void test01()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::constraint_stringbuf sbuf;
VERIFY( sbuf.check_pointers() );
}
// http://gcc.gnu.org/ml/libstdc++/2004-09/msg00243.html
void test01()
{
- bool test __attribute__((unused)) = true;
-
__gnu_test::constraint_wstringbuf sbuf;
VERIFY( sbuf.check_pointers() );
}
// test the streambuf/stringbuf locale settings
void test02()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_c = std::locale::classic();
loc_c = strb_01.getloc();
strb_01.pubimbue(loc_c); //This should initialize _M_init to true
void test03()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc = std::locale::classic();
std::stringbuf ob;
// test the streambuf/stringbuf locale settings
void test02()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_c = std::locale::classic();
loc_c = strb_01.getloc();
strb_01.pubimbue(loc_c); //This should initialize _M_init to true
void test03()
{
using std::locale;
- bool test __attribute__((unused)) = true;
locale loc = std::locale::classic();
std::wstringbuf ob;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::streamoff strmof_1(-1), strmof_2;
// GET
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::streamoff strmof_1(-1), strmof_2;
// GET
void
test01(unsigned iter)
{
- bool test __attribute__((unused)) = true;
-
for (unsigned n = 1; n <= iter; n *= 10)
{
const string str = data(n);
void test03()
{
- bool test __attribute__((unused)) = true;
const std::string control01("11111");
std::string test01;
// libstdc++/26250
void test01()
{
- bool test __attribute__((unused)) = true;
-
pubbuf buf;
VERIFY( buf.overflow('x') == 'x' );
void
test07()
{
- bool test __attribute__((unused)) = true;
testbuf ob;
std::ostream out(&ob);
void test15()
{
using namespace std;
- bool test __attribute__((unused)) = true;
OverBuf sb;
void
test01(unsigned iter)
{
- bool test __attribute__((unused)) = true;
-
for (unsigned n = 1; n <= iter; n *= 10)
{
const wstring str = data(n);
void test03()
{
- bool test __attribute__((unused)) = true;
const std::wstring control01(L"11111");
std::wstring test01;
// libstdc++/26250
void test01()
{
- bool test __attribute__((unused)) = true;
-
pubbuf buf;
VERIFY( buf.overflow(L'x') == L'x' );
void
test07()
{
- bool test __attribute__((unused)) = true;
testbuf ob;
std::wostream out(&ob);
void test15()
{
using namespace std;
- bool test __attribute__((unused)) = true;
OverBuf sb;
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef my_stringbuf::int_type int_type;
// mode & ios_base::out is nonzero, ..."
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef my_stringbuf::int_type int_type;
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef my_stringbuf::int_type int_type;
// mode & ios_base::out is nonzero, ..."
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef my_stringbuf::int_type int_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
void test12()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf sbuf;
sbuf.sputn("crazy bees!", 11);
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
void test12()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf sbuf;
sbuf.sputn(L"crazy bees!", 11);
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::stringbuf::int_type int_type;
// libstdc++/10975
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
// libstdc++/16956
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef stringbuf::int_type int_type;
void test02(std::stringbuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::wstringbuf::int_type int_type;
// libstdc++/10975
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef wstreambuf::pos_type pos_type;
typedef wstreambuf::off_type off_type;
// libstdc++/16956
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef wstringbuf::int_type int_type;
void test02(std::wstringbuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef wstreambuf::pos_type pos_type;
typedef wstreambuf::off_type off_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::pos_type pos_type;
void test02(std::stringbuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef streambuf::pos_type pos_type;
typedef streambuf::off_type off_type;
// libstdc++/29354
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef stringbuf::pos_type pos_type;
typedef stringbuf::off_type off_type;
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef stringbuf::pos_type pos_type;
typedef stringbuf::off_type off_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::pos_type pos_type;
void test02(std::wstringbuf& in, bool pass)
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef wstreambuf::pos_type pos_type;
typedef wstreambuf::off_type off_type;
// libstdc++/29354
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef stringbuf::pos_type pos_type;
typedef stringbuf::off_type off_type;
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
typedef wstringbuf::pos_type pos_type;
typedef wstringbuf::off_type off_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp;
// PUT
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buf[512];
const char* strlit = "how to tell a story and other essays: mark twain";
const size_t strlitsize = std::strlen(strlit);
{
using namespace std;
- bool test __attribute__((unused)) = true;
char buf[512];
const char* strlit = "how to tell a story and other essays: mark twain";
const size_t strlitsize = std::strlen(strlit);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const unsigned max_size = 1 << 18;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp;
// PUT
{
using namespace std;
- bool test __attribute__((unused)) = true;
wchar_t buf[512];
const wchar_t* strlit = L"how to tell a story and other essays: mark twain";
const size_t strlitsize = std::wcslen(strlit);
{
using namespace std;
- bool test __attribute__((unused)) = true;
wchar_t buf[512];
const wchar_t* strlit = L"how to tell a story and other essays: mark twain";
const size_t strlitsize = std::wcslen(strlit);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
const unsigned max_size = MAX_SIZE;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::streamsize strmsz_1, strmsz_2;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
// approp and returning the number of chars assigned
strmsz_1 = strb_01.in_avail();
strmsz_2 = strb_02.in_avail();
- test = strmsz_1 != strmsz_2;
+ VERIFY( strmsz_1 != strmsz_2 );
VERIFY( strmsz_1 != static_cast<std::streamsize>(str_01.length()) );
// because now we've moved into string
VERIFY( strmsz_2 != static_cast<std::streamsize>(str_02.length()) );
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::streamsize strmsz_1, strmsz_2;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
// approp and returning the number of chars assigned
strmsz_1 = strb_01.in_avail();
strmsz_2 = strb_02.in_avail();
- test = strmsz_1 != strmsz_2;
+ VERIFY( strmsz_1 != strmsz_2 );
VERIFY( strmsz_1 != static_cast<std::streamsize>(str_01.length()) );
// because now we've moved into string
VERIFY( strmsz_2 != static_cast<std::streamsize>(str_02.length()) );
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp, str_tmp2;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
void test09()
{
using namespace std;
- bool test __attribute__((unused)) = true;
stringbuf sbuf;
stringbuf::int_type r = sbuf.sputbackc('a');
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp, str_tmp2;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
void test09()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstringbuf sbuf;
wstringbuf::int_type r = sbuf.sputbackc(L'a');
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
// libstdc++/9404
void test04()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
// sputc
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
// libstdc++/9404
void test04()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
// sputc
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::stringbuf::int_type int_type;
// libstdc++/9404
void test04()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
Derived_stringbuf dsbuf_01;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp;
std::streamsize strmsz_1, strmsz_2;
typedef std::wstringbuf::int_type int_type;
// libstdc++/9404
void test04()
{
- bool test __attribute__((unused)) = true;
-
bool over_expected;
Derived_stringbuf dsbuf_01;
// test member functions
void test03()
{
- bool test __attribute__((unused)) = true;
-
//stringbuf::str()
VERIFY( strb_01.str() == str_01 );
VERIFY( strb_02.str() == str_02 );
// which didn't notice the grow.
void test07()
{
- bool test __attribute__((unused)) = true;
-
std::stringbuf strb_01;
strb_01.sputc('s');
strb_01.pubseekoff(0, std::ios_base::beg);
void test06()
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream os ("foo", std::ios_base::app);
os << "bar";
// libstdc++/3955 -- ios_base::app overwrites from the beginning
void test05()
{
- bool test __attribute__((unused)) = true;
-
std::ostringstream os ("foo");
os << "bar";
// test member functions
void test03()
{
- bool test __attribute__((unused)) = true;
-
// stringbuf::str()
VERIFY( strb_01.str() == str_01 );
VERIFY( strb_02.str() == str_02 );
// which didn't notice the grow.
void test07()
{
- bool test __attribute__((unused)) = true;
-
std::wstringbuf strb_01;
strb_01.sputc(L's');
strb_01.pubseekoff(0, std::ios_base::beg);
void test06()
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream os (L"foo", std::ios_base::app);
os << L"bar";
// libstdc++/3955 -- ios_base::app overwrites from the beginning
void test05()
{
- bool test __attribute__((unused)) = true;
-
std::wostringstream os (L"foo");
os << L"bar";
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::string str_tmp;
typedef std::stringbuf::int_type int_type;
typedef std::stringbuf::traits_type traits_type;
// test overloaded virtual functions
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring str_tmp;
typedef std::wstringbuf::int_type int_type;
typedef std::wstringbuf::traits_type traits_type;
// libstdc++/1057
void test04()
{
- bool test __attribute__((unused)) = true;
std::string text = "abcdefghijklmn";
// 01
// libstdc++/1057
void test04()
{
- bool test __attribute__((unused)) = true;
std::wstring text = L"abcdefghijklmn";
// 01
// should be able to use custom char_type, custom traits type
void test07()
{
- bool test __attribute__((unused)) = true;
typedef std::basic_stringstream<__gnu_test::pod_ushort> gnu_sstr;
try
}
catch(std::exception& obj)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
}
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
std::stringbuf sbuf;
std::streambuf* pbasebuf0 = &sbuf;
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
std::wstringbuf sbuf;
std::wstreambuf* pbasebuf0 = &sbuf;
void test01()
{
- bool test __attribute__((unused)) = true;
std::stringstream is01;
const std::string str00;
const std::string str01 = "123";
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const char* strlit01 = "fuck war";
const std::string str00;
const std::string str01(strlit01);
void
test03()
{
- bool test __attribute__((unused)) = true;
-
//
// 1: Automatic formatting of a compound string
//
// libstdc++/8466
void test04()
{
- bool test __attribute__((unused)) = true;
-
const char* strlit00 = "orvieto";
const std::string str00 = strlit00;
void test01()
{
- bool test __attribute__((unused)) = true;
std::wstringstream is01;
const std::wstring str00;
const std::wstring str01 = L"123";
// libstdc++/2832
void test02()
{
- bool test __attribute__((unused)) = true;
const wchar_t* strlit01 = L"fuck war";
const std::wstring str00;
const std::wstring str01(strlit01);
void
test03()
{
- bool test __attribute__((unused)) = true;
-
//
// 1: Automatic formatting of a compound string
//
// libstdc++/8466
void test04()
{
- bool test __attribute__((unused)) = true;
-
const wchar_t* strlit00 = L"orvieto";
const std::wstring str00 = strlit00;
// libstdc++/11450
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::fpos<int> p;
VERIFY( p.state() == 0 );
p.state(42);
// libstdc++/14252
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::streamoff off01 = 10;
std::streamoff off02 = 2;
std::streamoff off03 = 2004;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istreambuf_iterator<char>::difference_type Distance;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istreambuf_iterator<char>::difference_type Distance;
typedef numeric_limits<Distance> Limits;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef std::istreambuf_iterator<char>::difference_type Distance;
Distance d = 2;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istreambuf_iterator<char>::difference_type Distance;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
typedef istreambuf_iterator<char>::difference_type Distance;
{
#if defined (_GLIBCXX_USE_LFS) && defined (_GLIBCXX_HAVE_LIMIT_FSIZE)
using namespace std;
- bool test __attribute__((unused)) = true;
typedef filebuf::pos_type pos_type;
typedef filebuf::off_type off_type;
void test01()
{
- bool test __attribute__((unused)) = true;
-
typedef std::mbstate_t state_type;
state_type state01 = state_type();
state_type state02 = state_type();
// place.
pos01.state(state02);
state01 = pos01.state();
- test = std::memcmp(&state01, &state02, sizeof(state_type)) == 0;
- VERIFY( test );
+ VERIFY( std::memcmp(&state01, &state02, sizeof(state_type)) == 0 );
}
int main()
// libstdc++/12065
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::streampos p(0);
const std::streampos q(0);
std::streamoff o(0);
// 27.4.3.2 fpos requirements/invariants
void test02()
{
- bool test __attribute__((unused)) = true;
-
typedef std::mbstate_t state_type;
std::streamoff off01;
void test03()
{
- bool test __attribute__((unused)) = true;
-
typedef std::mbstate_t state_type;
std::streamoff off01;
void test01()
{
- bool test __attribute__((unused)) = true;
std::locale loc("C");
std::stringbuf strbuf01;
std::ios ios01(&strbuf01);
// libstdc++/1972
void test01()
{
- bool test __attribute__((unused)) = true;
std::string s("lack of sunlight, no water error");
// 1
void test02()
{
- bool test __attribute__((unused)) = true;
std::string s("lack of sunlight error");
std::range_error x(s);
void test03()
{
- bool test __attribute__((unused)) = true;
try
{ throw fuzzy_logic(); }
catch(const fuzzy_logic& obj)
void test04()
{
- bool test __attribute__((unused)) = true;
const std::string s("CA ISO emergency once again:immediate power down");
const char* strlit1 = "wish I lived in Palo Alto";
const char* strlit2 = "...or Santa Barbara";
{
typedef std::ios_base::failure test_type;
- bool test __attribute__((unused)) = true;
const std::string xxx(10000, 'x');
test_type t(xxx);
#if _GLIBCXX_USE_CXX11_ABI
void
test02()
{
- bool test __attribute__((unused)) = true;
const std::string strue("true");
const std::string sfalse("false");
std::string str01;
// http://gcc.gnu.org/ml/gcc-bugs/2000-12/msg00413.html
void test01()
{
- bool test __attribute__((unused)) = true;
-
using namespace std;
ios::xalloc();
int main ()
{
- bool test __attribute__((unused)) = true;
const int i = std::ios::xalloc();
VERIFY( i >= 0 );
// libstdc++/3129
void test02()
{
- bool test __attribute__((unused)) = true;
+ bool test = true;
int max = std::numeric_limits<int>::max() - 1;
std::stringbuf strbuf;
std::ios ios(&strbuf);
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
VERIFY( v == 0 );
// max is different code path from max-1
v = &test;
- try
+ try
{
v = ios.pword(std::numeric_limits<int>::max());
}
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
VERIFY( v == &test );
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
VERIFY( l == 0 );
}
catch(...)
{
- test = false;
- VERIFY( test );
+ VERIFY( false );
}
VERIFY( l == 1 );
-
}
int main(void)
void test02()
{
- bool test __attribute__((unused)) = true;
-
std::stringbuf strbuf01;
std::ios ios01(&strbuf01);
void
test01()
{
- bool test __attribute__((unused)) = true;
const char lit[] = "1 0\n"
"true false\n"
": true:\n"
void test02()
{
- bool test __attribute__((unused)) = true;
const std::string str_blank;
std::string str_tmp;
std::stringbuf strbuf;
void
test01()
{
- bool test __attribute__((unused)) = true;
const wchar_t lit[] = L"1 0\n"
L"true false\n"
L": true:\n"
void test02()
{
- bool test __attribute__((unused)) = true;
const std::wstring str_blank;
std::wstring str_tmp;
std::wstringbuf strbuf;
void test01()
{
- bool test __attribute__((unused)) = true;
const char lit[] = "0123 456\n"
": 01 234 567:\n"
":0123 456 :\n"
void test01()
{
- bool test __attribute__((unused)) = true;
const wchar_t lit[] = L"0123 456\n"
L": 01 234 567:\n"
L":0123 456 :\n"
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_de = std::locale(ISO_8859(15,de_DE));
std::istringstream iss;
// libstdc++/51288
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_us = std::locale("en_US.UTF-8");
std::istringstream iss;
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_de = std::locale(ISO_8859(15,de_DE));
std::wistringstream iss;
// libstdc++/51288
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_us = std::locale("en_US.UTF-8");
std::wistringstream iss;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
istringstream iss;
iss.imbue(loc_c);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
locale loc_de = locale("de_DE.UTF-8");
VERIFY( loc_de != loc_c );
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
wistringstream iss;
iss.imbue(loc_c);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
locale loc_de = locale("de_DE.UTF-8");
VERIFY( loc_de != loc_c );
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_de = std::locale(ISO_8859(15,de_DE));
std::ostringstream oss;
// libstdc++/51288
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_us = std::locale("en_US.UTF-8");
std::ostringstream oss;
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_de = std::locale(ISO_8859(15,de_DE));
std::wostringstream oss;
// libstdc++/51288
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::locale loc_us = std::locale("en_US.UTF-8");
std::wostringstream oss;
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
ostringstream oss;
oss.imbue(loc_c);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
locale loc_de = locale("de_DE.UTF-8");
VERIFY( loc_de != loc_c );
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
wostringstream oss;
oss.imbue(loc_c);
void test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
locale loc_c = locale::classic();
locale loc_de = locale("de_DE.UTF-8");
VERIFY( loc_de != loc_c );
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
string s("john coltrane, a love supreme");
istringstream iss(s);
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
string x (" this is text");
istringstream sin(x);
ostringstream sout;
void
test01()
{
- bool test [[gnu::unused]] = true;
-
std::ostringstream ssx;
ssx << "[" << std::left << std::setfill('x') << std::setw(20) << R"("AB \"CD\" EF")" << "]";
VERIFY( ssx.str() == R"(["AB \"CD\" EF"xxxxxx])" );
test01()
{
// Basic test from paper.
- bool test [[gnu::unused]] = true;
std::stringstream ss;
std::string original = "foolish me";
std::string round_trip;
test02()
{
// Test skipws correctness.
- bool test [[gnu::unused]] = true;
std::stringstream ss;
ss << std::quoted("Hello Goodbye") << ' ' << 1 << ' ' << 2;
std::string song;
test03()
{
// Test read of unquoted string.
- bool test [[gnu::unused]] = true;
std::stringstream ss;
ss << "Alpha Omega";
std::string testit;
test04(const std::string& message)
{
// Test 'const basic_string&'
- bool test [[gnu::unused]] = true;
std::stringstream ss;
ss << "** Error: " << std::quoted(message) << " **";
return ss.str();
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstring s(L"john coltrane, a love supreme");
wistringstream iss(s);
test01()
{
using namespace std;
- bool test __attribute__((unused)) = true;
wstring x(L" this is text");
wistringstream sin(x);
wostringstream sout;
void
test01()
{
- bool test [[gnu::unused]] = true;
-
std::wostringstream ssx;
ssx << L"[" << std::left << std::setfill(L'x') << std::setw(20) << LR"("AB \"CD\" EF")" << L"]";
VERIFY( ssx.str() == LR"(["AB \"CD\" EF"xxxxxx])" );
test01()
{
// Basic test from paper.
- bool test [[gnu::unused]] = true;
std::wstringstream ss;
std::wstring original = L"foolish me";
std::wstring round_trip;
test02()
{
// Test skipws correctness.
- bool test [[gnu::unused]] = true;
std::wstringstream ss;
ss << std::quoted(L"Hello Goodbye") << L' ' << 1 << L' ' << 2;
std::wstring song;
test03()
{
// Test read of unquoted string.
- bool test [[gnu::unused]] = true;
std::wstringstream ss;
ss << L"Alpha Omega";
std::wstring testit;
test04(const std::wstring& message)
{
// Test 'const basic_string&'
- bool test [[gnu::unused]] = true;
std::wstringstream ss;
ss << L"** Error: " << std::quoted(message) << L" **";
return ss.str();
// Make sure all the standard streams are defined.
void test01()
{
- bool test __attribute__((unused)) = true;
-
char array1[20];
typedef std::ios::traits_type ctraits_type;
ctraits_type::int_type i = 15;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "filebuf_virtuals-1.txt";
FILE* ret = freopen(name, "r", stdin);
// libstdc++/3045, in a vague way.
void test01()
{
- bool test __attribute__((unused)) = true;
int k1;
// 1 normal
// PR libstdc++/41037
void test01()
{
- bool test __attribute__((unused)) = true;
-
VERIFY( std::cerr.flags() & std::ios_base::dec );
VERIFY( std::cerr.flags() & std::ios_base::skipws );
VERIFY( std::cerr.flags() & std::ios_base::unitbuf );
void test05()
{
- bool test __attribute__((unused)) = true;
int i = static_ob.i;
VERIFY( std::cin.iword(i) == i + 1 );
void test06()
{
- bool test __attribute__((unused)) = true;
-
try
{
// No-op in current code.
}
catch(...)
{
- test = false;
+ VERIFY( false );
}
- VERIFY( test );
}
int main()
// libstdc++/6548
void test07()
{
- bool test __attribute__((unused)) = true;
std::cout << "Enter 'test':";
std::string s;
std::getline(std::cin, s, '\n');
// Interactive tests: each one (run alone) must terminate upon a single '\n'.
void test08()
{
- bool test __attribute__((unused)) = true;
char buff[2048];
std::cout << "Enter name: ";
std::cin.getline(buff, 2048);
void test09()
{
- bool test __attribute__((unused)) = true;
std::cout << "Enter favorite beach: ";
std::cin.ignore(2048, '\n');
}
// libstdc++/7744
void test11()
{
- bool test __attribute__((unused)) = true;
std::ios::sync_with_stdio(false);
std::cout << "Type in the characters 'abc' and press <ENTER>: ";
void test02()
{
- bool test __attribute__((unused)) = true;
-
// 27.3 - Standard iostream objects p 2
// The objects are not destroyed during program execution.
void* p1 = &std::cout;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_09";
FILE* fout = fopen(name, "w");
{
using namespace std;
- bool test __attribute__((unused)) = true;
-
int c1 = fgetc(stdin);
int c2 = cin.rdbuf()->sputbackc(c1);
VERIFY( c2 == c1 );
// DR 455. cerr::tie() and wcerr::tie() are overspecified.
void test01()
{
- bool test __attribute__((unused)) = true;
-
VERIFY( std::cerr.tie() == &std::cout );
}
void
test01()
{
- bool test __attribute__((unused)) = true;
-
wchar_t array2[20];
typedef std::wios::traits_type wtraits_type;
wtraits_type::int_type wi = 15;
void test10()
{
using namespace std;
-
- bool test __attribute__((unused)) = true;
+
const char* name = "tmp_10";
locale loc(locale("se_NO.UTF-8"));
void test11()
{
using namespace std;
-
- bool test __attribute__((unused)) = true;
+
const char* name = "tmp_11";
locale loc(locale("se_NO.UTF-8"));
void test12()
{
using namespace std;
-
- bool test __attribute__((unused)) = true;
+
const char* name = "tmp_12";
locale loc(locale("se_NO.UTF-8"));
void test13()
{
using namespace std;
-
- bool test __attribute__((unused)) = true;
+
const char* name = "tmp_13";
locale loc(locale("se_NO.UTF-8"));
// libstdc++/13582
void test01()
{
- bool test __attribute__((unused)) = true;
using namespace std;
ios_base::sync_with_stdio(false);
// libstdc++/3045, in a vague way.
void test01()
{
- bool test __attribute__((unused)) = true;
int k1;
// 1 normal
// PR libstdc++/41037
void test01()
{
- bool test __attribute__((unused)) = true;
-
VERIFY( std::wcerr.flags() & std::ios_base::dec );
VERIFY( std::wcerr.flags() & std::ios_base::skipws );
VERIFY( std::wcerr.flags() & std::ios_base::unitbuf );
void test05()
{
- bool test __attribute__((unused)) = true;
int i = static_ob.i;
VERIFY( std::wcin.iword(i) == i + 1 );
// libstdc++/6548
void test07()
{
- bool test __attribute__((unused)) = true;
std::wcout << L"Enter 'test':";
std::wstring s;
std::getline(std::wcin, s, L'\n');
// Interactive tests: each one (run alone) must terminate upon a single '\n'.
void test08()
{
- bool test __attribute__((unused)) = true;
wchar_t buff[2048];
std::wcout << "Enter name: ";
std::wcin.getline(buff, 2048);
void test09()
{
- bool test __attribute__((unused)) = true;
std::wcout << L"Enter favorite beach: ";
std::wcin.ignore(2048, '\n');
}
// libstdc++/7744
void test11()
{
- bool test __attribute__((unused)) = true;
std::ios::sync_with_stdio(false);
std::wcout << "Type in the characters 'abc' and press <ENTER>: ";
void test02()
{
- bool test __attribute__((unused)) = true;
-
// 27.3 - Standard iostream objects p 2
// The objects are not destroyed during program execution.
void* p1 = &std::wcout;
{
using namespace std;
- bool test __attribute__((unused)) = true;
const char* name = "tmp_9520";
FILE* file = fopen(name, "w");
{
using namespace std;
- bool test __attribute__((unused)) = true;
-
wint_t c1 = fgetwc(stdin);
wint_t c2 = wcin.rdbuf()->sputbackc(c1);
VERIFY( c2 == c1 );
// on stdout.
void test01()
{
- bool test __attribute__((unused)) = true;
-
std::wcout << L"Hello, ";
VERIFY( std::fwide(stdout, 0) >= 0 );
int ret = std::fputws(L"world!\n", stdout);
// DR 455. cerr::tie() and wcerr::tie() are overspecified.
void test01()
{
- bool test __attribute__((unused)) = true;
-
VERIFY( std::wcerr.tie() == &std::wcout );
}
void check(std::streamsize n)
{
- bool test __attribute__((unused)) = true;
-
VERIFY( std::streamsize(std::streamoff(n)) == n );
}