2018-11-28 Richard Biener <rguenther@suse.de>
[official-gcc.git] / gcc / testsuite / gcc.dg / pr63665.c
blob046ecae7c1d12d776477c301b4b24109e069477c
1 /* { dg-do run } */
2 /* { dg-require-effective-target int32plus } */
3 /* { dg-options "-O -fno-tree-ccp -fno-tree-fre -fno-tree-copy-prop -fwrapv" } */
5 static inline int
6 test5 (int x)
8 int y = 0x80000000;
9 return x + y;
12 int
13 main ()
15 if (test5 (0x80000000) != 0)
16 __builtin_abort ();
17 return 0;