summaryrefslogtreecommitdiffstats
path: root/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
diff options
context:
space:
mode:
authorjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 20:30:54 +0000
committerjason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>2011-07-13 20:30:54 +0000
commit36bc8a209f87f38eab75312bb48720e166136379 (patch)
tree9bc6a8a6d63eb7140bb959626a5979beccd64a30 /gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
parent4d3aeb29071fb6873c7067042baf2523a49e8bf7 (diff)
downloadppe42-gcc-36bc8a209f87f38eab75312bb48720e166136379.tar.gz
ppe42-gcc-36bc8a209f87f38eab75312bb48720e166136379.zip
Also test -std=c++0x mode with 'make check-c++' at top level
* Makefile.in (check-gcc-c++0x): New. (check-c++): Depend on it. gcc/ * Makefile.in ($(lang_checks_parallelized)): Allow --tool_opts. gcc/cp/ * Make-lang.in (check-c++0x): New. gcc/testsuite/ * lib/g++.exp (${tool}_option_help, ${tool}_option_proc): Remove. * lib/lto.exp (lto_prune_warns): Prune warning about -std=c++0x when compiling C files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@176250 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/testsuite/g++.old-deja/g++.ext/arrnew.C')
-rw-r--r--gcc/testsuite/g++.old-deja/g++.ext/arrnew.C3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C b/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
index ea3f4201470..0c37eb1e9fc 100644
--- a/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
+++ b/gcc/testsuite/g++.old-deja/g++.ext/arrnew.C
@@ -2,7 +2,8 @@
// { dg-options "" }
// PRMS Id: 4992
+// { dg-prune-output "extended init" }
+
int *f(){
return new int[1] = { 1 }; // { dg-error "lvalue" "err" }
- // { dg-warning "extended init" "warn" { target *-*-* } 6 }
}
OpenPOWER on IntegriCloud