diff options
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" } |