OSDN Git Service

* testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
authorhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Mar 2008 13:59:10 +0000 (13:59 +0000)
committerhp <hp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 2 Mar 2008 13:59:10 +0000 (13:59 +0000)
testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
Mark changed error message prelude, adding "in file included from",
using dg-excess-errors.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@132816 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc

index e7a958a..00f61e4 100644 (file)
@@ -1,3 +1,10 @@
+2008-03-02  Hans-Peter Nilsson  <hp@axis.com>
+
+       * testsuite/20_util/shared_ptr/assign/shared_ptr_neg.cc,
+       testsuite/tr1/2_general_utilities/shared_ptr/assign/shared_ptr_neg.cc:
+       Mark changed error message prelude, adding "in file included from",
+       using dg-excess-errors.
+
 2008-03-01  Jakub Jelinek  <jakub@redhat.com>
 
        * config/abi/post/x86_64-linux-gnu/32/baseline_symbols.txt: Update.
index ab272d8..8734252 100644 (file)
@@ -1,7 +1,7 @@
 // { dg-options "-std=gnu++0x" }
 // { dg-do compile }
 
-// Copyright (C) 2005, 2006, 2007 Free Software Foundation
+// Copyright (C) 2005, 2006, 2007, 2008 Free Software Foundation
 //
 // 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
@@ -21,7 +21,7 @@
 
 // 20.6.6.2 Template class shared_ptr [util.smartptr.shared]
 
-#include <memory>
+#include <memory>  // { dg-excess-errors "In file included from" }
 #include <testsuite_hooks.h>
 
 struct A { };
index 407cc5b..6cb6341 100644 (file)
@@ -1,6 +1,6 @@
 // { dg-do compile }
 
-// Copyright (C) 2005 Free Software Foundation
+// Copyright (C) 2005, 2008 Free Software Foundation
 //
 // 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
@@ -20,7 +20,7 @@
 
 // TR1 2.2.2 Template class shared_ptr [tr.util.smartptr.shared]
 
-#include <tr1/memory>
+#include <tr1/memory>  // { dg-excess-errors "In file included from" }
 #include <testsuite_hooks.h>
 
 struct A { };