On Fri, Feb 02, 2024 at 05:32:31PM +0100, Jakub Jelinek wrote:
> On Fri, Feb 02, 2024 at 11:27:09AM -0500, Marek Polacek wrote:
> > > With -pedantic-errors we would have __has_extension behaving like
> > > __has_feature, and I wanted to check in the test that this doesn't get
> > > reported as a feature or extension.
> >  
> > Oh I see.  A comment to that effect might be helpful.
> 
> Don't we have over 1200 other tests with dg-options "" which
> don't have comments why they are doing that?

Yes, but the __has_extension / __has_feature thing doesn't seem
obvious at all, and the test passed for me with and without
dg-options "".

But I'm fine with the patch either way.

Marek

Reply via email to