From c27a97d04853380f1e80525391b3f0d156ed4c84 Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Thu, 30 Oct 2014 09:35:42 +0000 Subject: Imported from /home/lorry/working-area/delta_gcc-tarball/gcc-4.9.2.tar.bz2. --- gcc/testsuite/g++.dg/cpp0x/implicit1.C | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gcc/testsuite/g++.dg/cpp0x/implicit1.C') diff --git a/gcc/testsuite/g++.dg/cpp0x/implicit1.C b/gcc/testsuite/g++.dg/cpp0x/implicit1.C index 2efbde6a93..7eb3371798 100644 --- a/gcc/testsuite/g++.dg/cpp0x/implicit1.C +++ b/gcc/testsuite/g++.dg/cpp0x/implicit1.C @@ -1,5 +1,5 @@ // Test for implicitly deleted destructors. -// { dg-options "-std=c++0x" } +// { dg-do compile { target c++11 } } // { dg-prune-output "default definition would be ill-formed" } // { dg-prune-output "within this context" } @@ -15,7 +15,7 @@ D d; // { dg-error "deleted" } struct E { - ~E() = delete; // { dg-error "declared here" } + ~E() = delete; // { dg-message "declared here" } }; struct F -- cgit v1.2.1