[PATCH, c++ testsuite]: Fix UNRESOLVED: g++.dg/cpp1z/constexpr-lambda6.C testsuite failure

Uros Bizjak ubizjak@gmail.com
Thu Aug 11 21:32:00 GMT 2016


On Thu, Aug 11, 2016 at 11:25 PM, Jason Merrill <jason@redhat.com> wrote:
> There's no need to rename main, but removing the dg-do is OK.

Thanks, I have committed only the removal of dg-do directive.

Uros.

Index: g++.dg/cpp1z/constexpr-lambda6.C
===================================================================
--- g++.dg/cpp1z/constexpr-lambda6.C    (revision 239384)
+++ g++.dg/cpp1z/constexpr-lambda6.C    (working copy)
@@ -1,5 +1,4 @@
 // Testcase from P0170R1
-// { dg-do run }
 // { dg-options -std=c++1z }

 auto monoid = [](auto v) { return [=] { return v; }; };



More information about the Gcc-patches mailing list