On Fri, Feb 05, 2021 at 04:11:30PM +0100, Florian Weimer wrote:
> * Peter Bergner:
> > On 2/5/21 4:28 AM, Florian Weimer wrote:
> >> Maybe add a check that the compatibility builtins are flagged as
> >> availble using __has_builtin?
> >
> > Do you mean add a test in the testsuite for this?  I can check on
> > adding that to the test case.
> 
> Right, in the test case.  Given that it's a new kind of built-in.
> (Not sure if it makes sense.)

There aren't many such tests yet, so it will be helpful just because of
that.  But __has_builtin should work for any builtin function
whatsoever, and there is nothing special about these compatibility
builtins (it is just a name, it is defined as any other).


Segher

Reply via email to