There's no need to rename main, but removing the dg-do is OK.
On Thu, Aug 11, 2016 at 3:03 PM, Uros Bizjak <ubiz...@gmail.com> wrote: > The compilation, where error is expected, will not produce an executable. > > 2016-08-11 Uros Bizjak <ubiz...@gmail.com> > > * g++.dg/cpp1z/constexpr-lambda6.C (dg-do run): Remove. > (g): Rename from main. > > Tested on x86_64-linux-gnu. > > OK for mainline? > > Uros.