Verify that empty std::vector is optimized away
[official-gcc.git] / gcc / testsuite / gcc.c-torture / execute / pr23047.c
blob2c963abc4c62a279576133092b46601c84695c18
1 /* { dg-options "-fwrapv" } */
2 #include <limits.h>
3 extern void abort ();
4 extern void exit (int);
5 void f(int i)
7 i = i > 0 ? i : -i;
8 if (i<0)
9 return;
10 abort ();
13 int main(int argc, char *argv[])
15 f(INT_MIN);
16 exit (0);