Update concepts branch to revision 131834
[official-gcc.git] / gcc / testsuite / gcc.dg / fold-abs-1.c
blob2e69a207577ebe99d0d936c9c0da95c1753b7713
1 /* { dg-do compile } */
2 /* { dg-options "-O1 -fwrapv" } */
3 #define ABS(x) (x > 0 ? x : -x)
4 int f (int a, int b) {
5 if ((ABS(a) | b) != 0) return 1;
6 else return 0;