LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr20922-4.c
blob0c9a7fc8330dd8f8c1dc2696e1134a453c2d46a7
1 /* { dg-do compile } */
2 /* { dg-options "-fno-wrapv -fstrict-overflow -fdump-tree-gimple" } */
3 int f(int i)
5 return i < (i - 2);
8 int g(int i)
10 return i > (i + 2);
13 int h(int i)
15 return i < (i + (-2));
18 int j(int i)
20 return i > (i - (-2));
23 int x(double i)
25 return i < (i - 2.0);
28 int y(double i)
30 return i > (i + 2.0);
33 int z(double i)
35 return i < (i + (-2.0));
37 /* { dg-final { scan-tree-dump-times " = 0" 7 "gimple" } } */