]> gcc.gnu.org Git - gcc.git/commitdiff
* g++.dg/cpp1y/lambda-generic-variadic2.C: Fix.
authorJason Merrill <jason@gcc.gnu.org>
Sat, 20 Dec 2014 01:42:51 +0000 (20:42 -0500)
committerJason Merrill <jason@gcc.gnu.org>
Sat, 20 Dec 2014 01:42:51 +0000 (20:42 -0500)
From-SVN: r218987

gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic2.C

index 2808aa6c190ef62d75a4db416b4500a336c26e7d..c70cc8d7747c56f8947310c9be7784c6c379d2ba 100644 (file)
@@ -1,5 +1,6 @@
 // PR c++/64105
-// This test was ICEing on pre-C++14 mode.
+// This test was ICEing in C++11 mode.
+// { dg-do compile { target c++11 } }
 
 #include <functional>
 
@@ -18,5 +19,5 @@ struct X
 
 int main()
 {
-  X::f([](auto... xs){});      // { dg-error "" "" { target { ! cxx14 } } }
-};
+  X::f([](auto... xs){});      // { dg-error "" "" { target { ! c++14 } } }
+}
This page took 0.067588 seconds and 5 git commands to generate.