Re: C++ PATCH to add a test for c++/82231

2017-12-19 Thread Jason Merrill
OK. On Tue, Dec 19, 2017 at 6:56 AM, Marek Polacek wrote: > This bug was fixed in r255430, but the test looks different enough so we > better > add it. > > Tested on x86_64-linux, ok for trunk? > > 2017-12-19 Marek Polacek > > PR c++/82231 > * g++.dg/cpp1z/nontype-auto14.C: Ne

C++ PATCH to add a test for c++/82231

2017-12-19 Thread Marek Polacek
This bug was fixed in r255430, but the test looks different enough so we better add it. Tested on x86_64-linux, ok for trunk? 2017-12-19 Marek Polacek PR c++/82231 * g++.dg/cpp1z/nontype-auto14.C: New test. --- gcc/testsuite/g++.dg/cpp1z/nontype-auto14.C +++ gcc/testsuite/g++