OSDN Git Service

* c-decl.c (grokfield): Allow typedefs for anonymous structs and
[pf3gnuchains/gcc-fork.git] / gcc / testsuite / gcc.dg / fold-abs-1.c
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;
7 }