blob: 2c963abc4c62a279576133092b46601c84695c18 [file] [log] [blame]
/* { dg-options "-fwrapv" } */
#include <limits.h>
extern void abort ();
extern void exit (int);
void f(int i)
{
i = i > 0 ? i : -i;
if (i<0)
return;
abort ();
}
int main(int argc, char *argv[])
{
f(INT_MIN);
exit (0);
}