From 1380aca7e6219817086aaacf9b264cf4b5a84727 Mon Sep 17 00:00:00 2001 From: Benjamin Kosnik Date: Tue, 14 Feb 2012 03:48:02 +0000 Subject: [PATCH] 43820_neg.cc: Adjust line numbers. 2012-02-13 Benjamin Kosnik * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers. * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same. From-SVN: r184192 --- libstdc++-v3/ChangeLog | 5 +++++ libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc | 4 ++-- .../tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc | 6 +++--- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 723007cdfe0..ba294659b87 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2012-02-13 Benjamin Kosnik + + * testsuite/20_util/shared_ptr/cons/43820_neg.cc: Adjust line numbers. + * testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc: Same. + 2012-02-13 Richard Henderson PR libstdc++/51798 continued. diff --git a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc index 0d51663fb75..39f9ce3b42e 100644 --- a/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc +++ b/libstdc++-v3/testsuite/20_util/shared_ptr/cons/43820_neg.cc @@ -32,9 +32,9 @@ void test01() { X* px = 0; std::shared_ptr p1(px); // { dg-error "here" } - // { dg-error "incomplete" "" { target *-*-* } 773 } + // { dg-error "incomplete" "" { target *-*-* } 771 } std::shared_ptr p9(ap()); // { dg-error "here" } - // { dg-error "incomplete" "" { target *-*-* } 867 } + // { dg-error "incomplete" "" { target *-*-* } 865 } } diff --git a/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc b/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc index ae902dc7751..0309f8fc6be 100644 --- a/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc +++ b/libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/cons/43820_neg.cc @@ -1,6 +1,6 @@ // { dg-do compile } -// Copyright (C) 2010 Free Software Foundation +// Copyright (C) 2010, 2012 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 @@ -30,9 +30,9 @@ void test01() { X* px = 0; std::tr1::shared_ptr p1(px); // { dg-error "here" } - // { dg-error "incomplete" "" { target *-*-* } 565 } + // { dg-error "incomplete" "" { target *-*-* } 563 } std::tr1::shared_ptr p9(ap()); // { dg-error "here" } - // { dg-error "incomplete" "" { target *-*-* } 604 } + // { dg-error "incomplete" "" { target *-*-* } 602 } } -- 2.30.2