Patchwork [C++,testcases,committed] Adjust two recent C++1y testcases to use 'target c++1y'

login
register
mail settings
Submitter Paolo Carlini
Date March 21, 2014, 4:43 p.m.
Message ID <532C6C49.2080809@oracle.com>
Download mbox | patch
Permalink /patch/332679/
State New
Headers show

Comments

Paolo Carlini - March 21, 2014, 4:43 p.m.
Hi,

I'm committing this as obvious.

Thanks,
Paolo.

////////////////////
2014-03-21  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.dg/cpp1y/pr60033.C: Use target c++1y.
	* g++.dg/cpp1y/pr60393.C: Likewise.

Patch

Index: g++.dg/cpp1y/pr60033.C
===================================================================
--- g++.dg/cpp1y/pr60033.C	(revision 208751)
+++ g++.dg/cpp1y/pr60033.C	(working copy)
@@ -1,5 +1,5 @@ 
 // PR c++/60033
-// { dg-options -std=c++1y }
+// { dg-do compile { target c++1y } }
 
 template <typename... T>
 auto f(T&&... ts)
Index: g++.dg/cpp1y/pr60393.C
===================================================================
--- g++.dg/cpp1y/pr60393.C	(revision 208751)
+++ g++.dg/cpp1y/pr60393.C	(working copy)
@@ -1,5 +1,5 @@ 
 // PR c++/60393
-// { dg-options -std=c++1y }
+// { dg-do compile { target c++1y } }
 
 void (*f)(auto) + 0; // { dg-error "expected" }