summaryrefslogtreecommitdiff
path: root/libstdc++-v3/testsuite/27_io
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-27 12:59:01 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2007-12-27 12:59:01 +0000
commit08b4a36c2fdf403d5133bed39d6c858bfdabadad (patch)
tree2275fe8dfc8a8ef8d0e8b732dc63b1cbefd8423f /libstdc++-v3/testsuite/27_io
parentd5bf8d02e7b67de803855bed4366a15a026b380a (diff)
downloadgcc-08b4a36c2fdf403d5133bed39d6c858bfdabadad.tar.gz
2007-12-27 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/34538 * config/os/generic/error_constants.h (enum posix_errno): Move inside namespace posix_error. * include/std/system_error (error_category::posix, error_code::error_code(posix_errno), error_code::posix): Adjust. * src/system_error.cc (gnu_error_category::posix): Likewise. * testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc: Adjust. * testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc: Likewise. * testsuite/19_diagnostics/error_code/cons/1.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/bool.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/equal.cc: Likewise. * testsuite/19_diagnostics/error_code/operators/not_equal.cc: Likewise. * testsuite/19_diagnostics/error_category/cons/copy_neg.cc: Likewise. * testsuite/19_diagnostics/error_category/cons/default.cc: Likewise. * testsuite/19_diagnostics/error_category/operators/equal.cc: Likewise. * testsuite/19_diagnostics/error_category/operators/not_equal.cc: Likewise. * testsuite/19_diagnostics/headers/system_error/types_std_c++0x.cc: Likewise. * testsuite/19_diagnostics/system_error/cons-1.cc: Likewise. * testsuite/19_diagnostics/system_error/what-4.cc: Likewise. * testsuite/19_diagnostics/headers/system_error/34538.cc: New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@131200 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/testsuite/27_io')
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc2
-rw-r--r--libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc
index 3cac92847e8..71c93e8d1b9 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/error_code.cc
@@ -32,7 +32,7 @@ void test()
char buf[64];
error_code e1;
- error_code e2(bad_address);
+ error_code e2(posix_error::bad_address);
string s, s1, s2;
{
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc
index a83c9cbb71d..73c838b4399 100644
--- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc
+++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/wchar_t/error_code.cc
@@ -33,7 +33,7 @@ void test()
wchar_t buf[64];
error_code e1;
- error_code e2(bad_address);
+ error_code e2(posix_error::bad_address);
wstring s, s1, s2;
{