diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2011-10-06 14:43:26 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-10-06 14:43:26 +0000 |
commit | 5847ec93384be65d57735db989d43eefb7002b7f (patch) | |
tree | 62299d4ca8b7caec31d7117f74948a4ec4d4a67c /libstdc++-v3/testsuite/27_io | |
parent | 62371b9228c43790749be80ceff5d892f3b705f5 (diff) | |
download | gcc-5847ec93384be65d57735db989d43eefb7002b7f.zip gcc-5847ec93384be65d57735db989d43eefb7002b7f.tar.gz gcc-5847ec93384be65d57735db989d43eefb7002b7f.tar.bz2 |
assign_neg.cc: Tidy dg- directives, for C++0x testing too.
2011-10-06 Paolo Carlini <paolo.carlini@oracle.com>
* testsuite/27_io/ios_base/cons/assign_neg.cc: Tidy dg- directives,
for C++0x testing too.
* testsuite/27_io/ios_base/cons/copy_neg.cc: Likewise.
* testsuite/ext/pb_ds/example/hash_resize_neg.cc: Likewise.
* testsuite/24_iterators/istreambuf_iterator/requirements/
base_classes.cc: Adjust for C++0x testing.
* testsuite/ext/codecvt/char-1.cc: Avoid warnings in C++0x mode.
* testsuite/ext/codecvt/char-2.cc: Likewise.
* testsuite/ext/codecvt/wchar_t.cc: Likewise.
From-SVN: r179616
Diffstat (limited to 'libstdc++-v3/testsuite/27_io')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/ios_base/cons/assign_neg.cc | 11 | ||||
-rw-r--r-- | libstdc++-v3/testsuite/27_io/ios_base/cons/copy_neg.cc | 11 |
2 files changed, 8 insertions, 14 deletions
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 4bbe5b1..488e393 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 @@ -18,21 +18,18 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - #include <ios> // Library defect report //50. Copy constructor and assignment operator of ios_base -class test_base : public std::ios_base { }; +class test_base : public std::ios_base { }; // { dg-error "within this context|deleted" } void test01() { // assign test_base io1; test_base io2; - io1 = io2; + io1 = io2; // { dg-error "synthesized|deleted" } } -// { dg-error "synthesized" "" { target *-*-* } 33 } -// { dg-error "within this context" "" { target *-*-* } 26 } -// { dg-error "is private" "" { target *-*-* } 791 } -// { dg-error "operator=" "" { target *-*-* } 0 } + +// { dg-prune-output "include" } 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 6f45373..22caadc 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 @@ -18,21 +18,18 @@ // with this library; see the file COPYING3. If not see // <http://www.gnu.org/licenses/>. - #include <ios> // Library defect report //50. Copy constructor and assignment operator of ios_base -struct test_base : public std::ios_base +struct test_base : public std::ios_base // { dg-error "within this context|deleted" } { }; void test02() { // copy ctor test_base io1; - test_base io2 = io1; + test_base io2 = io1; // { dg-error "synthesized|deleted" } } -// { dg-error "within this context" "" { target *-*-* } 26 } -// { dg-error "synthesized" "" { target *-*-* } 33 } -// { dg-error "is private" "" { target *-*-* } 788 } -// { dg-error "copy constructor" "" { target *-*-* } 0 } + +// { dg-prune-output "include" } |