Commit 646221d6 by Nathan Sidwell Committed by Nathan Sidwell

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
parent 7f03307f
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> 2005-05-31 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/20534 (contd) PR libstdc++/20534 (contd)
......
...@@ -40,6 +40,7 @@ void test01() ...@@ -40,6 +40,7 @@ void test01()
test_base io2; test_base io2;
io1 = 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 "is private" "" { target *-*-* } 782 }
// { dg-error "operator=" "" { target *-*-* } 0 } // { dg-error "operator=" "" { target *-*-* } 0 }
...@@ -40,6 +40,7 @@ void test02() ...@@ -40,6 +40,7 @@ void test02()
test_base io1; test_base io1;
test_base io2 = 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 "is private" "" { target *-*-* } 779 }
// { dg-error "copy constructor" "" { target *-*-* } 0 } // { dg-error "copy constructor" "" { target *-*-* } 0 }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment