I take that back. importc.h has a #define for it:
#define __int64 long long
Comment #4 by ibuclaw — 2023-02-21T10:44:47Z
(In reply to Walter Bright from comment #3)
> I take that back. importc.h has a #define for it:
>
> #define __int64 long long
Should we be testing for things defined in `importc.h` then? :-)
At best, they should all be in a clearly named test file so that it's obvious we're not actually testing ImportC, but rather our druntime-defined header.
Comment #5 by bugzilla — 2023-06-01T06:55:37Z
(In reply to Iain Buclaw from comment #4)
> (In reply to Walter Bright from comment #3)
> > I take that back. importc.h has a #define for it:
> >
> > #define __int64 long long
> Should we be testing for things defined in `importc.h` then? :-)
We already do, but they are kinda sprinkled in among the .c and .i tests.
Not really sure if they should be documented with the compiler or not.
Comment #6 by bugzilla — 2023-12-14T06:29:07Z
I'm not sure we should document macros in importc.h in the specification for ImportC. Other compilers don't do it (leaving a lot of macros undocumented in the various .h system files), and it really isn't part of the compiler.
It's pretty obvious what they do in importc.h, anyway.
So I'm going to mark this WONTFIX for the time being.