43820_neg.cc: Adjust line numbers.

2012-02-13  Benjamin Kosnik  <bkoz@redhat.com>

	* 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
This commit is contained in:
Benjamin Kosnik 2012-02-14 03:48:02 +00:00 committed by Benjamin Kosnik
parent 4ea063cacb
commit 1380aca7e6
3 changed files with 10 additions and 5 deletions

View File

@ -1,3 +1,8 @@
2012-02-13 Benjamin Kosnik <bkoz@redhat.com>
* 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 <rth@redhat.com>
PR libstdc++/51798 continued.

View File

@ -32,9 +32,9 @@ void test01()
{
X* px = 0;
std::shared_ptr<X> p1(px); // { dg-error "here" }
// { dg-error "incomplete" "" { target *-*-* } 773 }
// { dg-error "incomplete" "" { target *-*-* } 771 }
std::shared_ptr<X> p9(ap()); // { dg-error "here" }
// { dg-error "incomplete" "" { target *-*-* } 867 }
// { dg-error "incomplete" "" { target *-*-* } 865 }
}

View File

@ -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<X> p1(px); // { dg-error "here" }
// { dg-error "incomplete" "" { target *-*-* } 565 }
// { dg-error "incomplete" "" { target *-*-* } 563 }
std::tr1::shared_ptr<X> p9(ap()); // { dg-error "here" }
// { dg-error "incomplete" "" { target *-*-* } 604 }
// { dg-error "incomplete" "" { target *-*-* } 602 }
}