c++: Fix another crash with invalid new operators [PR117463]
[official-gcc.git] / gcc / testsuite / gcc.dg / tree-ssa / pr14490-3.c
blob7f294d1391671b4e10ca12e3e37078a9fdbf055e
1 /* { dg-do compile } */
2 /* { dg-options "-fstrict-overflow -fdump-tree-gimple" } */
3 int g(int x)
5 return (x + 10) < 0;
7 /* There should be only x < -10 and no x + 10. */
8 /* { dg-final { scan-tree-dump-times "< -10" 1 "gimple"} } */
9 /* { dg-final { scan-tree-dump-times "\\+ 10" 0 "gimple"} } */