aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2005-06-02 17:48:58 +0000
committerNathan Sidwell <nathan@gcc.gnu.org>2005-06-02 17:48:58 +0000
commit646221d67de0d8ddfe9b35570c8e52a544e20194 (patch)
treefef8434bdef787244553a9954e920670b8dc622a
parent7f03307f8ec13b4ab31fb76174935c11ee6e5bb4 (diff)
downloadgcc-646221d67de0d8ddfe9b35570c8e52a544e20194.zip
gcc-646221d67de0d8ddfe9b35570c8e52a544e20194.tar.gz
gcc-646221d67de0d8ddfe9b35570c8e52a544e20194.tar.bz2
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
-rw-r--r--libstdc++-v3/ChangeLog6
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc3
-rw-r--r--libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc3
3 files changed, 10 insertions, 2 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog
index 4660ce9..d2ecd58 100644
--- a/libstdc++-v3/ChangeLog
+++ b/libstdc++-v3/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-02 Nathan Sidwell <nathan@codesourcery.com>
+
+ 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 <pcarlini@suse.de>
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 50c8eb8..ea6eb42 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 925087d..2c047a5 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 }