diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc index 3e5dddc..6d28c5f 100644 --- a/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc +++ b/libstdc++-v3/testsuite/27_io/basic_ostream/inserters_other/char/exceptions_null.cc @@ -1,4 +1,4 @@ -// Copyright (C) 2003, 2005, 2009 Free Software Foundation, Inc. +// Copyright (C) 2003, 2005, 2009, 2010 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -28,7 +28,7 @@ void test1() bool test __attribute__((unused)) = true; ostringstream stream; - stream << static_cast<streambuf*>(NULL); + stream << static_cast<streambuf*>(0); VERIFY( stream.rdstate() & ios_base::badbit ); } @@ -42,7 +42,7 @@ void test3() try { - stream << static_cast<streambuf*>(NULL); + stream << static_cast<streambuf*>(0); VERIFY( false ); } catch (ios_base::failure&) |