PR target/55146
[official-gcc.git] / gcc / testsuite / gcc.dg / pr30045.c
blob6dd22a1df7ab2a715291f92dbb9f56dc497b706c
1 /* { dg-do compile } */
2 /* { dg-options "-O2 -fno-inline" } */
3 int f(int *a)
5 int __attribute__((nonnull(1))) g(int *b)
7 int **c = &a;
8 if (b)
9 return *a + **c;
10 return *b;
12 if (a)
13 return g(a);
14 return 1;