From 4236a702c4f0f811605f8189a513f521fde8cc91 Mon Sep 17 00:00:00 2001 From: paolo Date: Fri, 21 Mar 2014 17:06:11 +0000 Subject: [PATCH] 2014-03-21 Paolo Carlini * g++.dg/cpp1y/pr60033.C: Use target c++1y. * g++.dg/cpp1y/pr60393.C: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@208753 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/testsuite/ChangeLog | 5 +++++ gcc/testsuite/g++.dg/cpp1y/pr60033.C | 2 +- gcc/testsuite/g++.dg/cpp1y/pr60393.C | 3 ++- 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a575298..c2e77fb 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,5 +1,10 @@ 2014-03-21 Paolo Carlini + * g++.dg/cpp1y/pr60033.C: Use target c++1y. + * g++.dg/cpp1y/pr60393.C: Likewise. + +2014-03-21 Paolo Carlini + PR c++/60384 * g++.dg/cpp1y/pr60384.C: New. diff --git a/gcc/testsuite/g++.dg/cpp1y/pr60033.C b/gcc/testsuite/g++.dg/cpp1y/pr60033.C index 8194bec..f918d33f 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr60033.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr60033.C @@ -1,5 +1,5 @@ // PR c++/60033 -// { dg-options -std=c++1y } +// { dg-do compile { target c++1y } } template auto f(T&&... ts) diff --git a/gcc/testsuite/g++.dg/cpp1y/pr60393.C b/gcc/testsuite/g++.dg/cpp1y/pr60393.C index 38b8b91..8e89be4 100644 --- a/gcc/testsuite/g++.dg/cpp1y/pr60393.C +++ b/gcc/testsuite/g++.dg/cpp1y/pr60393.C @@ -1,5 +1,6 @@ // PR c++/60393 -// { dg-options -std=c++1y } +// { dg-do compile { target c++1y } } +// { dg-options "" } void (*f)(auto) + 0; // { dg-error "expected" } -- 2.7.4