LWG 3035. std::allocator's constructors should be constexpr
[official-gcc.git] / gcc / testsuite / gcc.dg / pr15784-2.c
blob471b6044b05a6e2d9cef85e25abe646ea6bb1fc8
1 /* { dg-do compile } */
2 /* { dg-options "-fdump-tree-gimple -ffast-math" } */
3 /* Test for folding abs(x) where appropriate. */
4 #define abs(x) x > 0 ? x : -x
5 extern double fabs (double);
7 int a (float x) {
8 return fabs(x) >= 0.0;
11 /* { dg-final { scan-tree-dump-times "ABS_EXPR" 0 "gimple" } } */