aboutsummaryrefslogtreecommitdiff
path: root/gcc/function.h
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2024-02-22 13:06:59 +0000
committerJonathan Wakely <jwakely@redhat.com>2024-02-28 11:27:46 +0000
commit5c22de3fecb6c853fcdf3e39a4cfe594846079a1 (patch)
tree59e74f86888cf245101611af3f2d1804a0435fc2 /gcc/function.h
parent4da67f63b9e306c43764857a0436d13668e1d3cc (diff)
downloadgcc-5c22de3fecb6c853fcdf3e39a4cfe594846079a1.zip
gcc-5c22de3fecb6c853fcdf3e39a4cfe594846079a1.tar.gz
gcc-5c22de3fecb6c853fcdf3e39a4cfe594846079a1.tar.bz2
libstdc++: Test error handling in std::print
The standard requires an exception if std::print fails to write to a FILE*. When writing to a std::ostream, failure to format the arguments doesn't affect the stream state, but failure to write to the streadm sets badbit. libstdc++-v3/ChangeLog: * testsuite/27_io/basic_ostream/print/1.cc: Check error handling. * testsuite/27_io/print/1.cc: Likewise.
Diffstat (limited to 'gcc/function.h')
0 files changed, 0 insertions, 0 deletions