OSDN Git Service

2008-05-16 Benjamin Kosnik <bkoz@redhat.com>
[pf3gnuchains/gcc-fork.git] / libstdc++-v3 / testsuite / 19_diagnostics / system_error / what-big.cc
index 765bcbf..ecf8952 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-options "-std=gnu++0x" }
 
-// Copyright (C) 2007 Free Software Foundation, Inc.
+// Copyright (C) 2007, 2008 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
@@ -30,7 +30,7 @@ void test01()
 
   bool test __attribute__((unused)) = true;
   const std::string xxx(10000, 'x');
-  test_type t(xxx);
+  test_type t(std::error_code(), xxx);
   VERIFY( std::strcmp(t.what(), xxx.c_str()) == 0 );
 }