From: Nathan Sidwell Date: Thu, 2 Jun 2005 17:48:58 +0000 (+0000) Subject: re PR c++/21280 (#pragma interface, templates, and "inline function used but never... X-Git-Tag: misc/cutover-cvs2svn~2698 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=646221d67de0d8ddfe9b35570c8e52a544e20194;p=thirdparty%2Fgcc.git re PR c++/21280 (#pragma interface, templates, and "inline function used but never defined") PR c++/21280 * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors. * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. From-SVN: r100499 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 4660ce9693e8..d2ecd58927f0 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,9 @@ +2005-06-02 Nathan Sidwell + + PR c++/21280 + * testsuite/27_io/ios_base/cons/assign_neg.cc: Adjust expected errors. + * testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise. + 2005-05-31 Paolo Carlini PR libstdc++/20534 (contd) diff --git a/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc b/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc index 50c8eb8b05fe..ea6eb423cec9 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc @@ -40,6 +40,7 @@ void test01() test_base io2; io1 = io2; } -// { dg-error "within this context" "" { target *-*-* } 41 } +// { dg-error "synthesized" "" { target *-*-* } 41 } +// { dg-error "within this context" "" { target *-*-* } 34 } // { dg-error "is private" "" { target *-*-* } 782 } // { dg-error "operator=" "" { target *-*-* } 0 } diff --git a/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc b/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc index 925087d5b273..2c047a5c3b5f 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc @@ -40,6 +40,7 @@ void test02() test_base io1; test_base io2 = io1; } -// { dg-error "within this context" "" { target *-*-* } 41 } +// { dg-error "within this context" "" { target *-*-* } 35 } +// { dg-error "synthesized" "" { target *-*-* } 41 } // { dg-error "is private" "" { target *-*-* } 779 } // { dg-error "copy constructor" "" { target *-*-* } 0 }