PR tree-optimization/81303
[official-gcc.git] / gcc / testsuite / gcc.dg / guality / pr41616-1.c
blobb033da795ac8b1c92f44d71cf3610cfea784777e
1 /* { dg-do run } */
2 /* { dg-options "-g -fgnu89-inline" } */
4 #include "guality.h"
6 inline int f(int *a)
8 return *a;
11 int
12 main(int argc, char *argv[])
14 int b = -1;
15 GUALCHKVAL (b);
16 if (argc > 0)
17 b = -f(&b);
18 GUALCHKVAL (b);
19 return b;