From: Jason Merrill Date: Sat, 20 Dec 2014 01:42:51 +0000 (-0500) Subject: * g++.dg/cpp1y/lambda-generic-variadic2.C: Fix. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=42e99e70e696fca06fa3012ae4917ebf58c5ac0b;p=gcc.git * g++.dg/cpp1y/lambda-generic-variadic2.C: Fix. From-SVN: r218987 --- diff --git a/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic2.C b/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic2.C index 2808aa6c190..c70cc8d7747 100644 --- a/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic2.C +++ b/gcc/testsuite/g++.dg/cpp1y/lambda-generic-variadic2.C @@ -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 @@ -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 } } } +}