mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
22 lines
293 B
C
22 lines
293 B
C
/* { dg-do run } */
|
|
/* { dg-options "-std=c99" } */
|
|
|
|
extern void abort(void);
|
|
|
|
typedef unsigned long long uint64;
|
|
|
|
int very_large_value (uint64 t)
|
|
{
|
|
return (t / 10000ULL) > 300000ULL;
|
|
}
|
|
|
|
int main(void)
|
|
{
|
|
uint64 t = 0xC0000000ULL;
|
|
|
|
if (!very_large_value (t))
|
|
abort ();
|
|
|
|
return 0;
|
|
}
|