On Tue, 12 Dec 2023, Peter Bergner wrote:
> On 12/12/23 8:36 PM, Jason Merrill wrote:
> > This test is failing for me below C++17, I think you need
> >
> > // { dg-do compile { target c++17 } }
> > or
> > // { dg-require-effective-target c++17 }
>
> Sorry about that. Should we do the above or should we just add
> -std=c++17 to dg-options? ...or do we need to do both?
Just do the above, the C++ testsuite iterates over all standards,
adding -std=c++17 would just run that 5 times. But the above
properly skips unsupported cases.
Richard.