blob: a746374a26d13ce8c31f141e679e9ce47570d664 [file] [log] [blame]
/* PR tree-optimization/48717 */
extern void abort (void);
int v = 1, w;
unsigned short
foo (unsigned short x, unsigned short y)
{
return x + y;
}
void
bar (void)
{
v = foo (~w, w);
}
int
main ()
{
bar ();
if (v != (unsigned short) -1)
abort ();
return 0;
}