var1.C: Use c++14, not c++1y, in dg-error.

2014-08-25  Paolo Carlini  <paolo.carlini@oracle.com>

	* g++.old-deja/g++.pt/var1.C: Use c++14, not c++1y, in dg-error.

From-SVN: r214416
This commit is contained in:
Paolo Carlini 2014-08-25 10:24:17 +00:00 committed by Paolo Carlini
parent 985acf5a0a
commit 41608dd074
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2014-08-25 Paolo Carlini <paolo.carlini@oracle.com>
* g++.old-deja/g++.pt/var1.C: Use c++14, not c++1y, in dg-error.
2014-08-25 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/34938

View File

@ -1,4 +1,4 @@
// { dg-do assemble }
// Origin: Jason Merrill <jason@cygnus.com>
template <class T> T t; // { dg-error "" "" { target { ! c++1y } } } template declaration of t
template <class T> T t; // { dg-error "" "" { target { ! c++14 } } } template declaration of t