mirror of
https://github.com/nArnoSNES/tcc-65816.git
synced 2024-05-31 22:41:28 +00:00
20 lines
215 B
C
20 lines
215 B
C
/* PR tree-optimization/19283 */
|
|
|
|
void abort (void);
|
|
|
|
static inline unsigned short
|
|
foo (unsigned int *p)
|
|
{
|
|
return *p;
|
|
};
|
|
|
|
unsigned int u;
|
|
|
|
int
|
|
main ()
|
|
{
|
|
if ((foo (&u) & 0x8000) != 0)
|
|
abort ();
|
|
return 0;
|
|
}
|