mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
24 lines
287 B
C
24 lines
287 B
C
typedef unsigned long long uint32;
|
|
const uint32 bigconst = 1 << 18;
|
|
|
|
int a = 1;
|
|
|
|
static
|
|
uint32 getmask(void)
|
|
{
|
|
if (a)
|
|
return bigconst;
|
|
else
|
|
return 0;
|
|
}
|
|
|
|
main()
|
|
{
|
|
uint32 f = getmask();
|
|
if (sizeof (long long) == 4
|
|
&& f != bigconst) abort ();
|
|
exit (0);
|
|
}
|
|
|
|
|