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

Submitted by Paolo Carlini on March 21, 2014, 4:43 p.m.

Details

Message ID 532C6C49.2080809@oracle.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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