On Oct 9, 2014, at 11:56 AM, Uros Bizjak <[email protected]> wrote:
> 2014-10-09 Uros Bizjak <[email protected]>
>
> * g++.dg/cpp1y/feat-cxx14.C: Variable templates not in yet.
> (dg-do): Use c++1y target.
>
> Tested on x86_64. OK for branch?
So, I need Ed or Jason to review it…
Index: g++.dg/cpp1y/feat-cxx14.C
===================================================================
--- g++.dg/cpp1y/feat-cxx14.C (revision 216044)
+++ g++.dg/cpp1y/feat-cxx14.C (working copy)
@@ -1,4 +1,4 @@
-// { dg-do compile { target c++14 } }
+// { dg-do compile { target c++1y } }
// { dg-options "-I${srcdir}/g++.dg/cpp1y -I${srcdir}/g++.dg/cpp1y/testinc" }
// Begin C++11 tests.
@@ -125,10 +125,9 @@
# error "__cpp_aggregate_nsdmi"
#endif
-#ifndef __cpp_variable_templates
+// Variable templates not in yet.
+#ifdef __cpp_variable_templates
# error "__cpp_variable_templates"
-#elif __cpp_variable_templates != 201304
-# error "__cpp_variable_templates != 201304"
#endif
#ifndef __cpp_digit_separators